You are here

public function FacetapiQueryType::__construct in Facet API 6.3

Same name and namespace in other branches
  1. 7.2 plugins/facetapi/query_type.inc \FacetapiQueryType::__construct()
  2. 7 plugins/facetapi/query_type.inc \FacetapiQueryType::__construct()

Parameters

FacetapiAdapter $adapter: The adapter object.

1 call to FacetapiQueryType::__construct()
FacetapiQueryTypeDate::__construct in plugins/facetapi/query_type.inc
Loads the include file containing the date API functions.
1 method overrides FacetapiQueryType::__construct()
FacetapiQueryTypeDate::__construct in plugins/facetapi/query_type.inc
Loads the include file containing the date API functions.

File

plugins/facetapi/query_type.inc, line 62
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;
}