public function SearchApiQueryFilterInterface::__construct in Search API 7
Constructs a new filter that uses the specified conjunction.
Parameters
string $conjunction: (optional) The conjunction to use for this filter - either 'AND' or 'OR'.
array $tags: (optional) An arbitrary set of tags. Can be used to identify this filter down the line if necessary. This is primarily used by the facet system to support OR facet queries.
1 method overrides SearchApiQueryFilterInterface::__construct()
- SearchApiQueryFilter::__construct in includes/
query.inc - Constructs a new filter that uses the specified conjunction.
File
- includes/
query.inc, line 906 - Contains SearchApiQueryInterface and SearchApiQuery.
Class
- SearchApiQueryFilterInterface
- Represents a filter on a search query.
Code
public function __construct($conjunction = 'AND', array $tags = array());