From 66f0724c3cdd2ea1de313bf407d40c38faf95b1d Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Fri, 18 Jan 2008 22:36:14 +0000 Subject: multiple view concatenation support --- system/libraries/Output.php | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'system/libraries/Output.php') diff --git a/system/libraries/Output.php b/system/libraries/Output.php index bafc9a18e..14640d85a 100644 --- a/system/libraries/Output.php +++ b/system/libraries/Output.php @@ -71,7 +71,30 @@ class CI_Output { } // -------------------------------------------------------------------- - + + /** + * Append Output + * + * Appends data onto the output string + * + * @access public + * @param string + * @return void + */ + function append_output($output) + { + if ($this->final_output == '') + { + $this->final_output = $output; + } + else + { + $this->final_output .= $output; + } + } + + // -------------------------------------------------------------------- + /** * Set Header * -- cgit v1.2.3-24-g4f1b