SolrParams::add

(PECL solr >= 0.9.2)

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

说明

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

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