예제 #1
0
 public static function restoreFiltersStatus()
 {
     if (count(self::$_previousFiltersStatus)) {
         self::$_filtersOn = array_pop(self::$_previousFiltersStatus);
     } else {
         throw new Exception('Error, there are no previous status in the stack');
     }
 }
예제 #2
0
 public static function restoreFiltersStatus()
 {
     self::$_filtersOn = self::$_previousFiltersStatus;
 }