在线文档教程
PHP
Solr

SolrParams::addParam

SolrParams::addParam

(PECL solr >= 0.9.2)

SolrParams::addParam — Adds a parameter to the object

Description

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

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

Parameters

name

Name of parameter

value

Value of parameter

Return Values

Returns a SolrParam object on success and FALSE on failure.

← SolrParams::add

SolrParams::get →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/solrparams.addparam.php