public function FacetapiQueryType::extract in Facet API 7.2
Same name and namespace in other branches
- 6.3 plugins/facetapi/query_type.inc \FacetapiQueryType::extract()
- 7 plugins/facetapi/query_type.inc \FacetapiQueryType::extract()
Adds additional information to the array active items.
Active facet items are stored in the FacetapiAdapter::activeItems property as associative arrays. See the docblock for the structure. Queries such as ranges can add additional info such as the "start" and "end" values for more efficient processing of facet data.
Parameters
array $item: The active item. See FacetapiAdapter::activeItems for the structure of the active item array.
Return value
array An associative array addition information to add to the active item.
2 methods override FacetapiQueryType::extract()
- FacetapiQueryTypeDate::extract in plugins/
facetapi/ query_type.inc - Overrides FacetapiQueryType::extract().
- FacetapiQueryTypeRange::extract in plugins/
facetapi/ query_type.inc - Overrides FacetapiQueryType::extract().
File
- plugins/
facetapi/ query_type.inc, line 142 - Interfaces and base classes for query type plugins.
Class
- FacetapiQueryType
- Base class for query type plugins.
Code
public function extract(array $item) {
return array();
}