Php/docs/solrparams.addparam
来自菜鸟教程
SolrParams::addParam
(PECL solr >= 0.9.2)
SolrParams::addParam — Adds 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.