summaryrefslogtreecommitdiffstats
path: root/system/core/Input.php
diff options
context:
space:
mode:
authorAhmad Anbar <aanbar@gmail.com>2014-12-02 16:26:30 +0100
committerAhmad Anbar <aanbar@gmail.com>2014-12-02 16:26:30 +0100
commitff89a4e7709933dda52698cd4abd389754ae8675 (patch)
treed788459d7ca4ab8ed9cdf7070f83efa0bb44b168 /system/core/Input.php
parent89432af4adb4011ad8aa5252838dc76a3a5acec7 (diff)
Added changelog entry
updated documentation Fixed code style.
Diffstat (limited to 'system/core/Input.php')
-rw-r--r--system/core/Input.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/core/Input.php b/system/core/Input.php
index 0dcb6f425..11b2e94e0 100644
--- a/system/core/Input.php
+++ b/system/core/Input.php
@@ -150,7 +150,7 @@ class CI_Input {
* Internal method used to retrieve values from global arrays.
*
* @param array &$array $_GET, $_POST, $_COOKIE, $_SERVER, etc.
- * @param string $index Index for item to be fetched from $array
+ * @param mixed $index Index for item to be fetched from $array
* @param bool $xss_clean Whether to apply XSS filtering
* @return mixed
*/
@@ -172,7 +172,7 @@ class CI_Input {
if (is_array($index))
{
$output = array();
- foreach($index as $var)
+ foreach ($index as $var)
{
$output[$var] = $this->_fetch_from_array($array, $var, $xss_clean);
}
@@ -222,7 +222,7 @@ class CI_Input {
/**
* Fetch an item from the GET array
*
- * @param string $index Index for item to be fetched from $_GET
+ * @param mixed $index Index for item to be fetched from $_GET
* @param bool $xss_clean Whether to apply XSS filtering
* @return mixed
*/
@@ -236,7 +236,7 @@ class CI_Input {
/**
* Fetch an item from the POST array
*
- * @param string $index Index for item to be fetched from $_POST
+ * @param mixed $index Index for item to be fetched from $_POST
* @param bool $xss_clean Whether to apply XSS filtering
* @return mixed
*/
@@ -282,7 +282,7 @@ class CI_Input {
/**
* Fetch an item from the COOKIE array
*
- * @param string $index Index for item to be fetched from $_COOKIE
+ * @param mixed $index Index for item to be fetched from $_COOKIE
* @param bool $xss_clean Whether to apply XSS filtering
* @return mixed
*/
@@ -296,7 +296,7 @@ class CI_Input {
/**
* Fetch an item from the SERVER array
*
- * @param string $index Index for item to be fetched from $_SERVER
+ * @param mixed $index Index for item to be fetched from $_SERVER
* @param bool $xss_clean Whether to apply XSS filtering
* @return mixed
*/