summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/loader.html
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2011-07-23 00:11:34 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-07-23 00:11:34 +0200
commit8731f641de823fcdcb8b2a2fa6034fca8fe4a164 (patch)
tree50b89af87337c124aeac2b670bf7175cf01c19c1 /user_guide/libraries/loader.html
parent909105135439ac2ade75a99922f77c038e882fee (diff)
Added ->load->get_var() to check against ->load->_ci_cached_vars[].
Diffstat (limited to 'user_guide/libraries/loader.html')
-rw-r--r--user_guide/libraries/loader.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/user_guide/libraries/loader.html b/user_guide/libraries/loader.html
index 1d93af5ed..a472730ca 100644
--- a/user_guide/libraries/loader.html
+++ b/user_guide/libraries/loader.html
@@ -175,6 +175,12 @@ and merged into one array for conversion to variables.
</p>
+<h2>$this->load->get_var(<samp>$key</samp>)</h2>
+
+<p>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().
+</p>
+
+
<h2>$this->load->helper('<var>file_name</var>')</h2>
<p>This function loads helper files, where <var>file_name</var> is the name of the file, without the <kbd>_helper.php</kbd> extension.</p>