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/changelog.html | 1 + user_guide/libraries/output.html | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/user_guide/changelog.html b/user_guide/changelog.html index aef9d71ac..ceb016cf8 100644 --- a/user_guide/changelog.html +++ b/user_guide/changelog.html @@ -71,6 +71,7 @@ SVN Revision:

  • Table library will generate an empty cell with a blank string, or NULL value.
  • Added a parse_string() method to the Parser Class.
  • Added HTTP headers and Config information to the Profiler output.
  • +
  • Documented append_output() in the Output Class.
  • Database 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