diff options
Diffstat (limited to 'user_guide/libraries')
-rw-r--r-- | user_guide/libraries/output.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/user_guide/libraries/output.html b/user_guide/libraries/output.html index 1e425910f..7be42b441 100644 --- a/user_guide/libraries/output.html +++ b/user_guide/libraries/output.html @@ -87,6 +87,14 @@ For example, if you build a page in one of your controller functions, don't set CodeIgniter functions like <var>$this->load->view()</var>.</p> +<h2>$this->output->append_output();</h2> + +<p>Appends data onto the output string. Usage example:</p> + +<code>$this->output->append_output($data);</code> + + + <h2>$this->output->set_header();</h2> <p>Permits you to manually set server headers, which the output class will send for you when outputting the final rendered display. Example:</p> |