protected function _processFilters(FilterCollectionInterface $filters, $params, $query)
    {
        $this->_searchParams = $params;
        $this->_isSearch = false;
        foreach ($filters as $filter) {
            $filter->setArgs($params);
            $filter->setQuery($query);

            if ($filter->skip()) {
                continue;
            }
            $result = $filter->process();
            if ($result !== false) {
                $this->_isSearch = true;
            }
        }

        return $query;
    }
protected function _processFilters(FilterCollectionInterface $filters, $params, $query)
    {
        $this->_searchParams = $params;
        $this->_isSearch = false;
        foreach ($filters as $filter) {
            $filter->setArgs($params);
            $filter->setQuery($query);

            if ($filter->skip()) {
                continue;
            }
            $result = $filter->process();
            if ($result !== false) {
                $this->_isSearch = true;
            }
        }

        return $query;
    }
protected function _processFilters ( FilterCollectionInterface $ filters , $ params , $ query ) { $ this -> _searchParams = $ params ; $ this -> _isSearch = false ; foreach ( $ filters as $ filter ) { $ filter -> setArgs ( $ params ) ; $ filter -> setQuery ( $ query ) ; if ( $ filter -> skip ( ) ) { continue ; } $ result = $ filter -> process ( ) ; if ( $ result !== false ) { $ this -> _isSearch = true ; } } return $ query ; }
Processes the given filters.

@param \Search\Model\Filter\FilterCollectionInterface $filters The filters to process.
@param array $params The parameters to pass to the filters.
@param \Cake\Datasource\QueryInterface $query The query to pass to the filters.
@return \Cake\Datasource\QueryInterface The query processed by the filters.
Processes the given filters .