Esempio n. 1
0
 static function get($var)
 {
     if (!self::$_get) {
         self::$_get = self::clean($_GET);
     }
     if (isset(Request::$NAMED_ARGS[$var])) {
         return self::clean(Request::$NAMED_ARGS[$var]);
     } elseif (isset(self::$_get[$var])) {
         return self::clean(self::$_get[$var]);
     } else {
         return null;
     }
 }