Php/docs/solrparams.add

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

SolrParams::add

(PECL solr >= 0.9.2)

SolrParams::addThis is an alias for SolrParams::addParam


说明

final public SolrParams::add ( string $name , string $value ) : SolrParams

This is an alias for SolrParams::addParam


参数

name
The name of the parameter
value
The value of the parameter


返回值

Returns a SolrParams instance on success