public function getFilters()
    {
        if (null === $this->sorted) {
            if (!count($this->filters)) {
                $this->sorted = array();
            } else {
                ksort($this->filters);
                $this->sorted = call_user_func_array('array_merge', $this->filters);
            }
        }
        return $this->sorted;
    }
public function getFilters()
    {
        if (null === $this->sorted) {
            if (!count($this->filters)) {
                $this->sorted = array();
            } else {
                ksort($this->filters);
                $this->sorted = call_user_func_array('array_merge', $this->filters);
            }
        }
        return $this->sorted;
    }
public function getFilters ( ) { if ( null === $ this -> sorted ) { if ( ! count ( $ this -> filters ) ) { $ this -> sorted = array ( ) ; } else { ksort ( $ this -> filters ) ; $ this -> sorted = call_user_func_array ( 'array_merge' , $ this -> filters ) ; } } return $ this -> sorted ; }
Returns a list of filters sorted by their priority. Filters with same priority will be returned in the order they were added.

@return array
Returns a list of filters sorted by their priority . Filters with same priority will be returned in the order they were added .