SolrGenericResponse::__destruct
SolrParams::add
Solr
PHP Manual
The SolrParams class
Introduction
Represents a collection of name-value pairs sent to the Solr server during a request.
Class synopsis
SolrParams
abstract
SolrParams
implements
Serializable
{
/* Methods */
final
public
SolrParams
add
(
string
$name
,
string
$value
)
public
SolrParams
addParam
(
string
$name
,
string
$value
)
final
public
mixed
get
(
string
$param_name
)
final
public
mixed
getParam
([
string
$param_name
] )
final
public
array
getParams
(
void
)
final
public
array
getPreparedParams
(
void
)
final
public
string
serialize
(
void
)
final
public
void
set
(
string
$name
,
string
$value
)
public
SolrParams
setParam
(
string
$name
,
string
$value
)
final
public
string
toString
([
bool
$url_encode
= false
] )
final
public
void
unserialize
(
string
$serialized
)
}
Table of Contents
SolrParams::add
— This is an alias for SolrParams::addParam
SolrParams::addParam
— Adds a parameter to the object
SolrParams::get
— This is an alias for 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
— An alias of 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
SolrGenericResponse::__destruct
SolrParams::add
Solr
PHP Manual