* @link https://github.com/pjmazenot/phpsolr-phpdoc */ /** * (PECL solr >= 0.9.2)
* Class SolrParams
* This class represents a a collection of name-value pairs sent to the Solr server during a request. * @link https://php.net/manual/en/class.solrparams.php */ abstract class SolrParams implements Serializable { /** * (PECL solr >= 0.9.2)
* This is an alias for SolrParams::addParam * @link https://php.net/manual/en/solrparams.add.php * @param string $name

* The name of the parameter *

* @param string $value

* The value of the parameter *

* @return SolrParams|false

* Returns a SolrParams instance on success and FALSE on failure. *

*/ public function add($name, $value) {} /** * (PECL solr >= 0.9.2)
* Adds a parameter to the object * @link https://php.net/manual/en/solrparams.addparam.php * @param string $name

* The name of the parameter *

* @param string $value

* The value of the parameter *

* @return SolrParams|false

* Returns a SolrParams instance on success and FALSE on failure. *

*/ public function addParam($name, $value) {} /** * (PECL solr >= 0.9.2)
* This is an alias for SolrParams::getParam * @link https://php.net/manual/en/solrparams.get.php * @param string $param_name

* The name of the parameter *

* @return mixed

* Returns an array or string depending on the type of parameter *

*/ final public function get($param_name) {} /** * (PECL solr >= 0.9.2)
* Returns a parameter value * @link https://php.net/manual/en/solrparams.getparam.php * @param string $param_name

* The name of the parameter *

* @return mixed

* Returns an array or string depending on the type of parameter *

*/ final public function getParam($param_name) {} /** * (PECL solr >= 0.9.2)
* Returns an array of non URL-encoded parameters * @link https://php.net/manual/en/solrparams.getparams.php * @return array

* Returns an array of non URL-encoded parameters *

*/ final public function getParams() {} /** * (PECL solr >= 0.9.2)
* Returns an array of URL-encoded parameters * @link https://php.net/manual/en/solrparams.getpreparedparams.php * @return array

* Returns an array of URL-encoded parameters *

*/ final public function getPreparedParams() {} /** * (PECL solr >= 0.9.2)
* Used for custom serialization * @link https://php.net/manual/en/solrparams.serialize.php * @return string

* Used for custom serialization *

*/ final public function serialize() {} /** * (PECL solr >= 0.9.2)
* An alias of SolrParams::setParam * @link https://php.net/manual/en/solrparams.set.php * @param string $name

* The name of the parameter *

* @param string $value

* The parameter value *

* @return SolrParams|false

* Returns a SolrParams instance on success and FALSE on failure. *

*/ final public function set($name, $value) {} /** * (PECL solr >= 0.9.2)
* Sets the parameter to the specified value * @link https://php.net/manual/en/solrparams.setparam.php * @param string $name

* The name of the parameter *

* @param string $value

* The parameter value *

* @return SolrParams|false

* Returns a SolrParams instance on success and FALSE on failure. *

*/ public function setParam($name, $value) {} /** * (PECL solr >= 0.9.2)
* Returns all the name-value pair parameters in the object * @link https://php.net/manual/en/solrparams.tostring.php * @param bool $url_encode

* Whether to return URL-encoded values *

* @return string|false

* Returns a string on success and FALSE on failure. *

*/ final public function toString($url_encode = false) {} /** * (PECL solr >= 0.9.2)
* Used for custom serialization * @link https://php.net/manual/en/solrparams.unserialize.php * @param string $serialized

* The serialized representation of the object *

*/ final public function unserialize($serialized) {} }