php8.5
Home/ Manual/ solr / solrobject/ SolrObject::offsetGet

SolrObject::offsetGet

PHP function Edit on GitHub ✎

(PECL solr >= 0.9.2)

Used to retrieve a property

Description

SolrObject::offsetGet(string $property_name): mixed

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

Parameters

property_name

Name of the property.

Return Values

Returns the property value.

Source: reference/solr/solrobject/offsetget.xml · from the official PHP manual (php/doc-en)