/** * Returns a Supercage object, which wraps ALL input superglobals * * @param string $config_file * @param boolean $strict whether or not to nullify the superglobal * @return Inspekt_Supercage */ static public function makeSuperCage($config_file = null, $strict = true) { /** * @staticvar $_instance */ static $_scinstance; if (!isset($_scinstance)) { $_scinstance = Inspekt_Supercage::Factory($config_file, $strict); } return $_scinstance; }
/** * Returns a Supercage object, which wraps ALL input superglobals * * @param boolean $strict whether or not to nullify the superglobal * @return Inspekt_Supercage * @static */ public static function makeSuperCage($strict = TRUE) { /** * @staticvar $_instance */ static $_scinstance; if (!isset($_scinstance)) { $_scinstance = Inspekt_Supercage::Factory($strict); } return $_scinstance; }
/** * Returns a Supercage object, which wraps ALL input superglobals * * @param string $config_file * @param boolean $strict whether or not to nullify the superglobal * @return Inspekt_Supercage * @static */ function makeSuperCage($config_file = NULL, $strict = TRUE) { /** * @staticvar $_instance */ static $_scinstance; if (!isset($_scinstance)) { $_scinstance = Inspekt_Supercage::Factory($strict, $config_file); } return $_scinstance; }