diff options
author | Shane Pearson <bubbafoley@gmail.com> | 2011-11-19 03:49:35 +0100 |
---|---|---|
committer | Shane Pearson <bubbafoley@gmail.com> | 2011-11-19 03:49:35 +0100 |
commit | 81dd22393368862760e1cfb30a0d73d070cd38af (patch) | |
tree | 6f87256b16e832bacb68bbf736127212ee5ad81c /user_guide_src/source/libraries | |
parent | dd81c435c145792e79e17f5a51f5c036adbc8044 (diff) |
add method get_vars() to CI_Loader to retrieve all variables loaded with $this->load->vars()
Diffstat (limited to 'user_guide_src/source/libraries')
-rw-r--r-- | user_guide_src/source/libraries/loader.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/user_guide_src/source/libraries/loader.rst b/user_guide_src/source/libraries/loader.rst index bbe2ed530..2090404bf 100644 --- a/user_guide_src/source/libraries/loader.rst +++ b/user_guide_src/source/libraries/loader.rst @@ -165,6 +165,12 @@ This function checks the associative array of variables available to your views. This is useful if for any reason a var is set in a library or another controller method using $this->load->vars(). +$this->load->get_vars() +=========================== + +This function retrieves all variables available to +your views. + $this->load->helper('file_name') ================================= |