# Die SolrParams-Klasse

(PECL solr >= 0.9.2)

## Einführung

Stellt eine Sammlung von Name-Wert-Paaren dar, die während einer Anfrage an den Solr-Server gesendet werden.

## Klassenbeschreibung

abstract class SolrParams implements Serializable {
/* Methoden */
final public function add(string `$name`, string `$value`): SolrParams
public function addParam(string `$name`, string `$value`): SolrParams
final public function get(string `$param_name`): mixed
final public function getParam(string `$param_name` = ?): mixed
final public function getParams(): array
final public function getPreparedParams(): array
final public function serialize(): string
final public function set(string `$name`, string `$value`): void
public function setParam(string `$name`, string `$value`): SolrParams
final public function toString(bool `$url_encode` = `false`): string
final public function unserialize(string `$serialized`): void
}

## Inhaltsverzeichnis

- SolrParams::add — Alias von SolrParams::addParam
- SolrParams::addParam — Adds a parameter to the object
- SolrParams::get — Alias von SolrParams::getParam
- SolrParams::getParam — Returns a parameter value
- SolrParams::getParams — Returns an array of non URL-encoded parameters
- SolrParams::getPreparedParams — Returns an array of URL-encoded parameters
- SolrParams::serialize — Used for custom serialization
- SolrParams::set — Alias von SolrParams::setParam
- SolrParams::setParam — Sets the parameter to the specified value
- SolrParams::toString — Returns all the name-value pair parameters in the object
- SolrParams::unserialize — Used for custom serialization

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open