diff options
author | admin <devnull@localhost> | 2006-10-03 07:28:00 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-10-03 07:28:00 +0200 |
commit | 08f6020b0085842d4ae81949a0f4886c94158a55 (patch) | |
tree | d0b94a90f1d374c4fbc05160b12a1df07b7f52b1 /user_guide/libraries/output.html | |
parent | 2e949ec0c98da2b28b67c12445fb4e6b2f838223 (diff) |
Diffstat (limited to 'user_guide/libraries/output.html')
-rw-r--r-- | user_guide/libraries/output.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/user_guide/libraries/output.html b/user_guide/libraries/output.html index adc8fb58e..ad6a53d8f 100644 --- a/user_guide/libraries/output.html +++ b/user_guide/libraries/output.html @@ -105,6 +105,21 @@ $this->output->set_header("Cache-Control: post-check=0, pre-check=0", false);<br $this->output->set_header("Pragma: no-cache"); </code>
+<h2>$this->output->enable_profiler();</h2>
+
+<p>Permits you to enable/disable the <a href="../general/profiling.html">Profiler</a>, which will display benchmark and other data
+at the bottom of your pages for debugging and optimization purposes.</p>
+
+<p>To enable the profiler place the the following function anywhere within your <a href="controllers.html">Controller</a> functions:</p>
+<code>$this->output->enable_profiler(TRUE);</code>
+
+<p>When enabled a report will be generated and inserted at the bottom of your pages.</p>
+
+<p>To disable the profiler you will use:</p>
+<code>$this->output->enable_profiler(FALSE);</code>
+
+
+
</div>
<!-- END CONTENT -->
|