You are here

public function FacetapiAdapter::getActiveValues in Facet API 6

Returns an array of the facet's active item values.

Parameters

$facet: An array containing the facet definition.

Return value

An array containing the facet values keyed by position.

File

./facetapi.adapter.inc, line 87
Defines classes used by the FacetAPI module.

Class

FacetapiAdapter
Abstract class extended by search backends that retrieves facet information from the database.

Code

public function getActiveValues(array $facet) {
  return $this
    ->getFacet($facet)
    ->getActiveValues();
}