public function FacetapiAdapter::getQueryString in Facet API 6.3
Same name and namespace in other branches
- 7.2 plugins/facetapi/adapter.inc \FacetapiAdapter::getQueryString()
- 7 plugins/facetapi/adapter.inc \FacetapiAdapter::getQueryString()
Helper function that returns the query string variables 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
array The query string vriables.
File
- plugins/
facetapi/ adapter.inc, line 762 - Adapter plugin and adapter related calsses.
Class
- FacetapiAdapter
- Abstract class extended by search backends that retrieves facet information from the database.
Code
public function getQueryString(array $facet, array $values, $active) {
return $this->urlProcessor
->getQueryString($facet, $values, $active);
}