SolrDocumentField::__destruct
SolrObject::__construct
Solr
PHP Manual

# The SolrObject class

(PECL solr >= 0.9.2)

## Introduction

This is an object whose properties can also by accessed using the array syntax. All its properties are read-only.

## Class synopsis

final SolrObject implements ArrayAccess {
/* Methods */
public __construct ( void )
public void __destruct ( void )
public array getPropertyNames ( void )
public bool offsetExists ( string `$property_name` )
public mixed offsetGet ( string `$property_name` )
public void offsetSet ( string `$property_name` , string `$property_value` )
public void offsetUnset ( string `$property_name` )
}

## Table of Contents

- SolrObject::__construct — Creates Solr object
- SolrObject::__destruct — Destructor
- SolrObject::getPropertyNames — Returns an array of all the names of the properties
- SolrObject::offsetExists — Checks if the property exists
- SolrObject::offsetGet — Used to retrieve a property
- SolrObject::offsetSet — Sets the value for a property
- SolrObject::offsetUnset — Unsets the value for the property

SolrDocumentField::__destruct
SolrObject::__construct
Solr
PHP Manual