You are here

public function FacetapiUrlProcessorStandard::normalizeParams in Facet API 6.3

Same name and namespace in other branches
  1. 7.2 plugins/facetapi/url_processor_standard.inc \FacetapiUrlProcessorStandard::normalizeParams()
  2. 7 plugins/facetapi/url_processor_standard.inc \FacetapiUrlProcessorStandard::normalizeParams()

Implements FacetapiUrlProcessor::normalizeParams().

Strips the "q" and "page" variables from the params array.

Overrides FacetapiUrlProcessor::normalizeParams

File

plugins/facetapi/url_processor_standard.inc, line 58
The standard URL processor.

Class

FacetapiUrlProcessorStandard
Extension of FacetapiUrlProcessor.

Code

public function normalizeParams(array $params, $filter_key = 'f') {
  return $this
    ->fetchQueryParams($params, array(
    'q',
    'page',
  ));
}