You are here

public function FacetapiQueryTypeDate::__construct in Facet API 6.3

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

Loads the include file containing the date API functions.

Overrides FacetapiQueryType::__construct

File

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