You are here

public function SearchApiQueryInterface::filter in Search API 7

Adds a subfilter to this query's filter.

Parameters

SearchApiQueryFilterInterface $filter: A SearchApiQueryFilter object that should be added as a subfilter.

Return value

SearchApiQueryInterface The called object.

1 method overrides SearchApiQueryInterface::filter()
SearchApiQuery::filter in includes/query.inc
Adds a subfilter to this query's filter.

File

includes/query.inc, line 124
Contains SearchApiQueryInterface and SearchApiQuery.

Class

SearchApiQueryInterface
Interface representing a search query on an Search API index.

Code

public function filter(SearchApiQueryFilterInterface $filter);