summaryrefslogtreecommitdiffstats
path: root/system/core/Input.php
diff options
context:
space:
mode:
authorIgnasimg <ignasimg@gmail.com>2015-02-19 01:26:06 +0100
committerIgnasimg <ignasimg@gmail.com>2015-02-19 01:26:06 +0100
commita8c964c5a1d48d9a70ed5826a086e9eba9963cc9 (patch)
treecc7b8bd757576bbadf254415afc3a7416d0686ba /system/core/Input.php
parentf9fbf1187516363a48fe2fe7bc33d00ae11f134f (diff)
documentation changes
Diffstat (limited to 'system/core/Input.php')
-rw-r--r--system/core/Input.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/system/core/Input.php b/system/core/Input.php
index 3024fca78..f181c27ce 100644
--- a/system/core/Input.php
+++ b/system/core/Input.php
@@ -104,9 +104,9 @@ class CI_Input {
protected $headers = array();
/**
- * Raw input stream data
+ * Raw input stream data as received from php://input
*
- * @see CI_Input::input_stream()
+ * @see CI_Input::raw_input_stream()
* @var array
*/
protected $_raw_input_stream = NULL;
@@ -114,12 +114,12 @@ class CI_Input {
/**
* Input stream data
*
- * Parsed from php://input at runtime
+ * Parsed from raw_input_stream at runtime
*
* @see CI_Input::input_stream()
* @var array
*/
- protected $_input_stream = NULL; // Kept for backward compatible.
+ protected $_input_stream = NULL;
/**
* Class constructor
@@ -309,7 +309,7 @@ class CI_Input {
/**
* Fetch raw data from php://input stream
*
- * Useful when data is not an array and might contain = and & symbols.
+ * Useful when data is not an array.
*/
public function raw_input_stream()
{
@@ -326,7 +326,7 @@ class CI_Input {
// ------------------------------------------------------------------------
/**
- * Fetch an item from the php://input stream
+ * Fetch an item from the input stream
*
* Useful when you need to access PUT, DELETE or PATCH request data.
*
@@ -343,9 +343,9 @@ class CI_Input {
// ------------------------------------------------------------------------
/**
- * Fetch an item from the php://input stream
+ * Fetch an item from the input stream
*
- * Useful when you need to access input that's been send as raw json data'
+ * Useful when you need to access input that's been send as json'
*
* @param string $index Index for item to be fetched
* @param bool $xss_clean Whether to apply XSS filtering