function DrupalSolrQueryInterface::replaceParam in Apache Solr Search 7
Same name and namespace in other branches
- 8 apachesolr.interface.inc \DrupalSolrQueryInterface::replaceParam()
- 6.3 apachesolr.interface.inc \DrupalSolrQueryInterface::replaceParam()
Replaces a param to be sent when running the Solr search.
Basically a shortcut for removeParam() plus addParam().
Parameters
string $name: A Solr param name, e.g. 'q' or 'fl'.
$value: A Solr param value: an array of values, or a string for a single value.
Return value
DrupalSolrQueryInterface The called object.
1 method overrides DrupalSolrQueryInterface::replaceParam()
- SolrBaseQuery::replaceParam in ./
Solr_Base_Query.php - Replaces a param to be sent when running the Solr search.
File
- ./
apachesolr.interface.inc, line 231
Class
- DrupalSolrQueryInterface
- The interface for all 'query' objects.
Code
function replaceParam($name, $value);