From 1ca94e82c8fc8c2acf4bb7b3927abff736779163 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Sat, 16 Jan 2010 19:24:21 +0000 Subject: Documented append_output() in the Output Class. --- user_guide/libraries/output.html | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'user_guide/libraries') 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 $this->load->view().

+

$this->output->append_output();

+ +

Appends data onto the output string. Usage example:

+ +$this->output->append_output($data); + + +

$this->output->set_header();

Permits you to manually set server headers, which the output class will send for you when outputting the final rendered display. Example:

-- cgit v1.2.3-24-g4f1b