From 307cd619a56cc8ab40b978e3bf1f4dd373d312f0 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Sun, 11 May 2008 20:31:32 +0000 Subject: clarified instructions for using display_override hook http://codeigniter.com/bug_tracker/bug/4512/ --- user_guide/general/hooks.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide') 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'][] = array(
Called immediately after your controller is fully executed.
  • display_override
    Overrides the _display() 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 $this->output->get_output()
  • + use your own display methodology. Note that you will need to reference the CI superobject with $this->CI =& get_instance() and then the finalized data will be available by calling $this->CI->output->get_output()
  • cache_override
    Enables you to call your own function instead of the _display_cache() function in the output class. This permits you to use your own cache display mechanism.
  • scaffolding_override
    -- cgit v1.2.3-24-g4f1b