public function FacetapiQueryType::__construct in Facet API 7
Same name and namespace in other branches
- 6.3 plugins/facetapi/query_type.inc \FacetapiQueryType::__construct()
- 7.2 plugins/facetapi/query_type.inc \FacetapiQueryType::__construct()
Constructs a FacetapiQueryType object.
Parameters
FacetapiAdapter $adapter: The adapter object associated with facet being queried.
array $facet: The facet definition as returned by facetapi_facet_load().
1 call to FacetapiQueryType::__construct()
- FacetapiQueryTypeDate::__construct in plugins/
facetapi/ query_type.inc - Overrides FacetapiQueryType::__construct().
1 method overrides FacetapiQueryType::__construct()
- FacetapiQueryTypeDate::__construct in plugins/
facetapi/ query_type.inc - Overrides FacetapiQueryType::__construct().
File
- plugins/
facetapi/ query_type.inc, line 139 - Interfaces and base classes for query type plugins.
Class
- FacetapiQueryType
- Base class for query type plugins.
Code
public function __construct(FacetapiAdapter $adapter, array $facet) {
$this->adapter = $adapter;
$this->facet = $facet;
}