SolrObject::offsetGet

(PECL solr >= 0.9.2)

SolrObject::offsetGetUsed to retrieve a property

Description

public 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.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/solrobject.offsetget.php