public function FacetapiQueryType::extract in Facet API 6.3
Same name and namespace in other branches
- 7.2 plugins/facetapi/query_type.inc \FacetapiQueryType::extract()
- 7 plugins/facetapi/query_type.inc \FacetapiQueryType::extract()
Allows additional information to be added to the active items.
A common use case is extracting the start and end values in a range facet.
Parameters
array $value: The active item.
Return value
array An array containing the addition information to add to the item.
2 methods override FacetapiQueryType::extract()
- FacetapiQueryTypeDate::extract in plugins/
facetapi/ query_type.inc - Parses the start and end values for the date.
- FacetapiQueryTypeRange::extract in plugins/
facetapi/ query_type.inc - Parses the start and end values for the date.
File
- plugins/
facetapi/ query_type.inc, line 78 - Interfaces and base classes for query type plugins.
Class
- FacetapiQueryType
- Base class for query type plugins.
Code
public function extract(array $item) {
return array();
}