Permalink
Browse files

Added documentation and changlog for get_header Output class method.

  • Loading branch information...
1 parent 45429a7 commit 2e775273b06f853c40b4987104e3d8ada79a3f70 @garthkerr garthkerr committed Apr 27, 2012
Showing with 10 additions and 1 deletion.
  1. +2 −1 user_guide_src/source/changelog.rst
  2. +8 −0 user_guide_src/source/libraries/output.rst
@@ -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>`.
@@ -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
------------------
@@ -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();
=============================

0 comments on commit 2e77527

Please sign in to comment.