diff options
author | Greg Aker <greg.aker@ellislab.com> | 2010-11-10 22:26:43 +0100 |
---|---|---|
committer | Greg Aker <greg.aker@ellislab.com> | 2010-11-10 22:26:43 +0100 |
commit | a926328583e7ffdaaac7daf2f87810d842423f21 (patch) | |
tree | 7e4b62b3029de2a7273ab94d30148a60e496ada7 /system/core/Input.php | |
parent | 579fde36e4f8cc294edec4fd4eefe06f4df09dda (diff) |
Changing all class constructors to __construct()
Diffstat (limited to 'system/core/Input.php')
-rw-r--r-- | system/core/Input.php | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/system/core/Input.php b/system/core/Input.php index f959b2890..0ce2d893a 100644 --- a/system/core/Input.php +++ b/system/core/Input.php @@ -35,16 +35,14 @@ class CI_Input { var $_enable_xss = FALSE; // Set automatically based on config setting var $_enable_csrf = FALSE; // Set automatically based on config setting - /** - * Constructor - * - * Sets whether to globally enable the XSS processing - * and whether to allow the $_GET array - * - * @access public - */ - function CI_Input() + * Constructor + * + * Sets whether to globally enable the XSS processing + * and whether to allow the $_GET array + * + */ + public function __construct() { log_message('debug', "Input Class Initialized"); @@ -72,16 +70,16 @@ class CI_Input { // -------------------------------------------------------------------- /** - * Fetch from array - * - * This is a helper function to retrieve values from global arrays - * - * @access private - * @param array - * @param string - * @param bool - * @return string - */ + * Fetch from array + * + * This is a helper function to retrieve values from global arrays + * + * @access private + * @param array + * @param string + * @param bool + * @return string + */ function _fetch_from_array(&$array, $index = '', $xss_clean = FALSE) { if ( ! isset($array[$index])) |