Beispiel #1
0
 public static function getCat()
 {
     $catName = "index";
     if (count($_GET) > 0) {
         self::$data = $_GET;
         if (array_key_exists('cat', array_filter(self::$data))) {
             return self::$data['cat'];
         }
     }
     return $catName;
 }