= 0.9.2)SolrParams::add — This is an alias for SolrParams::addParam說明final public SolrParams::add(string $name, string $val">

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

參數(shù)

name

The name of the parameter

value

The value of the parameter

返回值

Returns a SolrParams instance on success