Php/docs/solrparams.addparam

来自菜鸟教程
跳转至:导航、​搜索

SolrParams::addParam

(PECL solr >= 0.9.2)

SolrParams::addParamAdds a parameter to the object


说明

public SolrParams::addParam ( string $name , string $value ) : SolrParams

Adds a parameter to the object. This is used for parameters that can be specified multiple times.


参数

name
Name of parameter
value
Value of parameter


返回值

Returns a SolrParam object on success and false on failure.