Exemplo n.º 1
0
 /**
  * Setter function for the filters variable.
  *
  * @param array $filters
  * @param string $location	The filters target location.
  *
  * @return void
  */
 public static function setFilters($filters, $location = null)
 {
     if (is_null($location)) {
         self::$filters = $filters;
     } else {
         self::$filters[$location] = $filters;
     }
 }