public function FacetapiAdapter::getFacetPath in Facet API 6.3
Same name and namespace in other branches
- 7.2 plugins/facetapi/adapter.inc \FacetapiAdapter::getFacetPath()
- 7 plugins/facetapi/adapter.inc \FacetapiAdapter::getFacetPath()
Helper function that returns the facet path for a facet item.
Parameters
array $facet: The facet definition.
array $values: An array containing the item's values being added to or removed from the query string dependent on whether or not the item is active.
int $active: An integer flagging whether the item is active or not.
Return value
string The facet path.
File
- plugins/
facetapi/ adapter.inc, line 780 - Adapter plugin and adapter related calsses.
Class
- FacetapiAdapter
- Abstract class extended by search backends that retrieves facet information from the database.
Code
public function getFacetPath(array $facet, array $values, $active) {
return $this->urlProcessor
->getFacetPath($facet, $values, $active);
}