summaryrefslogtreecommitdiffstats
path: root/user_guide
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-05-11 22:31:32 +0200
committerDerek Jones <derek.jones@ellislab.com>2008-05-11 22:31:32 +0200
commit307cd619a56cc8ab40b978e3bf1f4dd373d312f0 (patch)
tree874d072fd1fe9a12071f2cbef51bd8067108ea65 /user_guide
parent1ef401db4aaf65f7c21c2274a7b65e2321fc991f (diff)
clarified instructions for using display_override hook
http://codeigniter.com/bug_tracker/bug/4512/
Diffstat (limited to 'user_guide')
-rw-r--r--user_guide/general/hooks.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/general/hooks.html b/user_guide/general/hooks.html
index 5cd361f04..60bdf0238 100644
--- a/user_guide/general/hooks.html
+++ b/user_guide/general/hooks.html
@@ -140,7 +140,7 @@ $hook['pre_controller']<kbd>[]</kbd> = array(<br />
Called immediately after your controller is fully executed.</li>
<li><strong>display_override</strong><br />
Overrides the <dfn>_display()</dfn> function, used to send the finalized page to the web browser at the end of system execution. This permits you to
- use your own display methodology. Note that the finalized data will be available by calling <dfn>$this->output->get_output()</dfn></li>
+ use your own display methodology. Note that you will need to reference the CI superobject with <dfn>$this->CI =&amp; get_instance()</dfn> and then the finalized data will be available by calling <dfn>$this->CI->output->get_output()</dfn></li>
<li><strong>cache_override</strong><br />
Enables you to call your own function instead of the <dfn>_display_cache()</dfn> function in the output class. This permits you to use your own cache display mechanism.</li>
<li><strong>scaffolding_override</strong><br />