public function FacetapiAdapter::getActiveItems in Facet API 6.3
Same name and namespace in other branches
- 6 facetapi.adapter.inc \FacetapiAdapter::getActiveItems()
- 7.2 plugins/facetapi/adapter.inc \FacetapiAdapter::getActiveItems()
- 7 plugins/facetapi/adapter.inc \FacetapiAdapter::getActiveItems()
Returns a facet's active items.
Parameters
array|string $facet: The facet definition or facet name,
Return value
array The facet's active items.
File
- plugins/
facetapi/ adapter.inc, line 267 - Adapter plugin and adapter related calsses.
Class
- FacetapiAdapter
- Abstract class extended by search backends that retrieves facet information from the database.
Code
public function getActiveItems(array $facet) {
return $this->activeItems['facet'][$facet['name']];
}