public function FacetapiUrlProcessor::getFacetPath in Facet API 7.2
Same name and namespace in other branches
- 6.3 plugins/facetapi/url_processor.inc \FacetapiUrlProcessor::getFacetPath()
- 7 plugins/facetapi/url_processor.inc \FacetapiUrlProcessor::getFacetPath()
Returns the 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 path of the facet.
File
- plugins/
facetapi/ url_processor.inc, line 119 - Base url processor plugin class.
Class
- FacetapiUrlProcessor
- Abstract class extended by url processor plugins.
Code
public function getFacetPath(array $facet, array $values, $active) {
return $this->adapter
->getSearchPath();
}