public function FacetapiFacetProcessor::getFacetPath in Facet API 7.2
Same name and namespace in other branches
- 6.3 plugins/facetapi/adapter.inc \FacetapiFacetProcessor::getFacetPath()
- 7 plugins/facetapi/adapter.inc \FacetapiFacetProcessor::getFacetPath()
Helper function that returns the path for a facet item.
Parameters
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.
See also
FacetapiAdapter::getFacetPath()
1 call to FacetapiFacetProcessor::getFacetPath()
- FacetapiFacetProcessor::processQueryStrings in plugins/
facetapi/ adapter.inc - Initializes the render array's query string variables.
File
- plugins/
facetapi/ adapter.inc, line 1642 - Adapter plugin and adapter related classes.
Class
- FacetapiFacetProcessor
- Builds base render array used as a starting point for rendering.
Code
public function getFacetPath(array $values, $active) {
return $this->facet
->getAdapter()
->getFacetPath($this->facet
->getFacet(), $values, $active);
}