コード例 #1
0
 /**
  * Remove a filter from the parameters.
  *
  * @param string $filter Filter to add
  * @param bool   $escape Should we escape the string for use in the view?
  *
  * @return string
  */
 public function removeFilter($filter, $escape = true)
 {
     // Treat this as a special case of removeFacet:
     list($field, $value) = $this->params->parseFilter($filter);
     return $this->removeFacet($field, $value, $escape);
 }