SolrObject
final class SolrObject implements ArrayAccess (View source)
(PECL solr >= 0.9.2)
Class SolrObject
This class represents an object whose properties can also by accessed using the array syntax. All its properties are
read-only.
Methods
(PECL solr >= 0.9.2)
SolrObject constructor.
(PECL solr >= 0.9.2)
Destructor
(PECL solr >= 0.9.2)
Returns an array of all the names of the properties
(PECL solr >= 0.9.2)
Checks if the property exists
(PECL solr >= 0.9.2)
Used to retrieve a property
(PECL solr >= 0.9.2)
Sets the value for a property
(PECL solr >= 0.9.2)
Unsets the value for the property
Details
__construct()
(PECL solr >= 0.9.2)
SolrObject constructor.
__destruct()
(PECL solr >= 0.9.2)
Destructor
array
getPropertyNames()
(PECL solr >= 0.9.2)
Returns an array of all the names of the properties
bool
offsetExists(string $property_name)
(PECL solr >= 0.9.2)
Checks if the property exists
mixed
offsetGet(string $property_name)
(PECL solr >= 0.9.2)
Used to retrieve a property
void
offsetSet(string $property_name, string $property_value)
(PECL solr >= 0.9.2)
Sets the value for a property
void
offsetUnset(string $property_name)
(PECL solr >= 0.9.2)
Unsets the value for the property