summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/output.html
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2010-03-10 20:33:43 +0100
committerDerek Jones <derek.jones@ellislab.com>2010-03-10 20:33:43 +0100
commit5034e3fe8442fcb558225f6c528497227474c9ca (patch)
tree02ba8f6bd3954f9f701de43f4a939c90d82c45fd /user_guide/libraries/output.html
parentee71c80dd20bcfc60169af3eb1f628229ca30d67 (diff)
added docs for Output class property
Diffstat (limited to 'user_guide/libraries/output.html')
-rw-r--r--user_guide/libraries/output.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/user_guide/libraries/output.html b/user_guide/libraries/output.html
index 70f0c1f7b..411048088 100644
--- a/user_guide/libraries/output.html
+++ b/user_guide/libraries/output.html
@@ -137,6 +137,12 @@ at the bottom of your pages for debugging and optimization purposes.</p>
<h2>$this->output->cache();</h2>
<p>The CodeIgniter output library also controls caching. For more information, please see the <a href="../general/caching.html">caching documentation</a>.</p>
+<h2>Parsing Execution Variables</h2>
+
+ <p>CodeIgniter will parse the pseudo-variables <var>{elapsed_time}</var> and <var>{memory_usage}</var> in your output by default. To disable this, set the <var>$parse_exec_vars</var> class property to <var>FALSE</var> in your controller.
+
+ <code>$this->output->parse_exec_vars = FALSE;</code>
+
</div>
<!-- END CONTENT -->