From 93f5262ff7c6fa1ba7b943a0c62c199026e394e6 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 9 Feb 2005 20:29:23 +0000 Subject: [PATCH] Added reference instance variables to isso::input (named i and in). Allows for more short-hand processing. --- kernel.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kernel.php b/kernel.php index 408bbf6..cc6d692 100644 --- a/kernel.php +++ b/kernel.php @@ -73,6 +73,8 @@ class Shared_Object_Framework * @var debuginfo Listing of all debug notices * @var modules An array of loaded framework modules * @var input All input data for the system + * @var i Short-hand reference to $isso::input + * @var in Short-hand reference to $isso::input * @var magicquotes Status of Magic Quotes GPC */ var $version = '[#]version[#]'; @@ -83,6 +85,8 @@ class Shared_Object_Framework var $debuginfo = array(); var $modules = array(); var $input = array(); + var $i = array(); + var $in = array(); var $magicquotes = 0; /** @@ -99,6 +103,8 @@ class Shared_Object_Framework // start input sanitize using variable_order GP $this->input = $this->_sanitize_input_recursive(array_merge($_GET, $_POST)); + $this->i =& $this->input; + $this->in =& $this->input; $this->modules['kernel'] = 'Shared Object Framework Core'; } -- 2.43.5