在线文档教程
PHP
Solr

SolrParams::add

SolrParams::add

(PECL solr >= 0.9.2)

SolrParams::add — This is an alias for SolrParams::addParam

Description

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

This is an alias for SolrParams::addParam

Parameters

name

The name of the parameter

value

The value of the parameter

Return Values

Returns a SolrParams instance on success

← SolrParams

SolrParams::addParam →

© 1997–2017 The PHP Documentation Group

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

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