summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authorSongpol Sripaoeiam <sripaoeiam@gmail.com>2012-04-02 20:29:28 +0200
committerSongpol Sripaoeiam <sripaoeiam@gmail.com>2012-04-02 20:29:28 +0200
commit614db07c77e341bfe4bf92d7576f01a6cabd43ff (patch)
tree56df8a054e01711ecaa83a95372b15b7406b70ec /user_guide_src
parent99888b6847d60d58922037a361c9ff7308a161ca (diff)
The current name is too wide change to get_content_type()consistent with set_content_type()
Diffstat (limited to 'user_guide_src')
-rw-r--r--user_guide_src/source/libraries/output.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide_src/source/libraries/output.rst b/user_guide_src/source/libraries/output.rst
index ba1ef19e6..7fd2a1c72 100644
--- a/user_guide_src/source/libraries/output.rst
+++ b/user_guide_src/source/libraries/output.rst
@@ -49,12 +49,12 @@ data, JPEG's, XML, etc easily.
.. important:: Make sure any non-mime string you pass to this method
exists in config/mimes.php or it will have no effect.
-$this->output->get_current_content_type();
+$this->output->get_content_type();
==========================================
Get the current mime-type of your page and return 'text/html' by default.
- $this->output->get_current_content_type();
+ $this->output->get_content_type();
$this->output->get_output();
=============================