summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authorIgnasimg <ignasimg@gmail.com>2015-02-26 03:16:12 +0100
committerIgnasimg <ignasimg@gmail.com>2015-02-26 03:16:12 +0100
commit54b42d6c00f25152b6502be4cf64f2fe342b5fb7 (patch)
treed57b1edde83e3534f4f8a674e298472b4079a1af /user_guide_src
parent7325fce4f6ea6454c948539598d10eb319244939 (diff)
Update input.rst
Diffstat (limited to 'user_guide_src')
-rw-r--r--user_guide_src/source/libraries/input.rst12
1 files changed, 9 insertions, 3 deletions
diff --git a/user_guide_src/source/libraries/input.rst b/user_guide_src/source/libraries/input.rst
index 2b71b348a..274e49af4 100644
--- a/user_guide_src/source/libraries/input.rst
+++ b/user_guide_src/source/libraries/input.rst
@@ -93,12 +93,12 @@ one shot at all of the POST data.
CodeIgniter will take care of that for you, and you can read the data
from the **php://input** stream at any time, just by using the
-``raw_input_stream`` property::
+``$raw_input_stream`` property::
$this->input->raw_input_stream;
-Additionally if the input stream is formated in a query string fashion
-you can access it's values, just by calling the
+Additionally if the input stream is form-encoded like $_POST you can
+access its values by calling the
``input_stream()`` method::
$this->input->input_stream('key');
@@ -120,6 +120,12 @@ Class Reference
.. php:class:: CI_Input
+ .. attribute:: $raw_input_stream
+
+ Read only property that will return php://input data as is.
+
+ The property can be read multiple times.
+
.. php:method:: post([$index = NULL[, $xss_clean = NULL]])
:param mixed $index: POST parameter name