You are here

public function FacetapiQueryTypeDate::__construct in Facet API 7

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

Overrides FacetapiQueryType::__construct().

Lazy loads the date processing functions.

Overrides FacetapiQueryType::__construct

File

plugins/facetapi/query_type.inc, line 191
Interfaces and base classes for query type plugins.

Class

FacetapiQueryTypeDate
Base class for date query type plugins.

Code

public function __construct(FacetapiAdapter $adapter, array $facet) {
  module_load_include('inc', 'facetapi', 'facetapi.date');
  parent::__construct($adapter, $facet);
}