You are here

public function FacetapiFacetProcessor::getActiveItems in Facet API 7.2

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

Helper function to get the facet's active items.

Return value

array The facet's active items. See the FacetapiAdapter::getActiveItems() return value for the structure of the array.

See also

FacetapiAdapter::getActiveItems()

1 call to FacetapiFacetProcessor::getActiveItems()
FacetapiFacetProcessor::mapValues in plugins/facetapi/adapter.inc
Maps the IDs to human readable values via the facet's mapping callback.

File

plugins/facetapi/adapter.inc, line 1417
Adapter plugin and adapter related classes.

Class

FacetapiFacetProcessor
Builds base render array used as a starting point for rendering.

Code

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