SolrObject
PHP Manual

SolrObject::offsetGet

(PECL solr >= 0.9.2)

SolrObject::offsetGetUsed to retrieve a property

说明

public mixed SolrObject::offsetGet ( string $property_name )

Used to get the value of a property. This is used when the object is treated as an array.

参数

property_name

Name of the property.

返回值

Returns the property value.


SolrObject
PHP Manual