Php/docs/solrobject.offsetget

来自菜鸟教程
跳转至:导航、​搜索

SolrObject::offsetGet

(PECL solr >= 0.9.2)

SolrObject::offsetGetUsed to retrieve a property


说明

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.


参数

property_name
Name of the property.


返回值

Returns the property value.