Exemple #1
0
 /**
  * Enter description here...
  * 
  * @param string  $config_file
  * @param boolean $strict
  * @return Inspekt_Supercage
  */
 function Factory($config_file = NULL, $strict = TRUE)
 {
     $sc = new Inspekt_Supercage();
     $sc->_makeCages($config_file, $strict);
     // eliminate the $_REQUEST superglobal
     if ($strict) {
         $_REQUEST = null;
     }
     return $sc;
 }
 /**
  * Enter description here...
  *
  * @param boolean $strict
  * @return Inspekt_Supercage
  */
 public static function Factory($strict = TRUE)
 {
     $sc = new Inspekt_Supercage();
     $sc->_makeCages($strict);
     // eliminate the $_REQUEST superglobal
     if ($strict) {
         $_REQUEST = null;
     }
     return $sc;
 }