Skip to content

Commit

Permalink
Added documentation and changlog for get_header Output class method.
Browse files Browse the repository at this point in the history
  • Loading branch information
garthkerr committed Apr 27, 2012
1 parent 45429a7 commit 2e77527
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion user_guide_src/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Release Date: Not Released

- Database

- Renamed the Active Record class to Query Builder to remove confusion with
- Renamed the Active Record class to Query Builder to remove confusion with
the Active Record design pattern
- Added new :doc:`Query Builder <database/query_builder>` methods that return
- Added the ability to insert objects with insert_batch() in :doc:`Query Builder <database/query_builder>`.
Expand Down Expand Up @@ -146,6 +146,7 @@ Release Date: Not Released
- Added support for HTTP-Only cookies with new config option ``cookie_httponly`` (default FALSE).
- Renamed method _call_hook() to call_hook() in the :doc:`Hooks Library <general/hooks>`.
- Added get_content_type() method to the :doc:`Output Library <libraries/output>`.
- Added get_header() method to the :doc:`Output Library <libraries/output>`.

Bug fixes for 3.0
------------------
Expand Down
8 changes: 8 additions & 0 deletions user_guide_src/source/libraries/output.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ Appends data onto the output string. Usage example::

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

$this->output->get_header();
=============================

Retrieves headers that have been set by the Output class, or by using
the traditional header() function. Example::

$this->output->get_header('Content-Type');

$this->output->set_header();
=============================

Expand Down

0 comments on commit 2e77527

Please sign in to comment.