Beispiel #1
0
 public static function switchDebug($params = null)
 {
     if (is_bool($params)) {
         self::$_debug == $params;
     } else {
         self::$_debug = self::$_debug ? false : true;
     }
     return self::$_debug;
 }