You are here

public function FacetapiQueryType::getActiveItems in Facet API 7.2

Same name and namespace in other branches
  1. 6.3 plugins/facetapi/query_type.inc \FacetapiQueryType::getActiveItems()
  2. 7 plugins/facetapi/query_type.inc \FacetapiQueryType::getActiveItems()

Returns the facet's active items.

Return value

array The facet's active items. See FacetapiAdapter::activeItems for the structure of the active item array.

See also

FacetapiAdapter::activeItems

File

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

Class

FacetapiQueryType
Base class for query type plugins.

Code

public function getActiveItems() {
  return $this->adapter
    ->getActiveItems($this->facet);
}