Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added documentation and changlog for get_header Output class method.

  • Loading branch information...
commit 2e775273b06f853c40b4987104e3d8ada79a3f70 1 parent 45429a7
@garthkerr garthkerr authored
View
3  user_guide_src/source/changelog.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
------------------
View
8 user_guide_src/source/libraries/output.rst
@@ -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();
=============================
Please sign in to comment.
Something went wrong with that request. Please try again.