enable_profiler([$val = TRUE])
Parameters: |
|
---|---|
Returns: |
CI_Output instance (method chaining) |
Return type: |
CI_Output |
Permits you to enable/disable the Profiler, which will display benchmark and other data at the bottom of your pages for debugging and optimization purposes.
To enable the profiler place the following line anywhere within your Controller methods:
$this->output->enable_profiler(TRUE);
When enabled a report will be generated and inserted at the bottom of your pages.
To disable the profiler you would use:
$this->output->enable_profiler(FALSE);
Please login to continue.