Php/docs/solrdocument.get

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

SolrDocument::__get

(PECL solr >= 0.9.2)

SolrDocument::__getAccess the field as a property


说明

public SolrDocument::__get ( string $fieldName ) : SolrDocumentField

Magic method for accessing the field as a property.


参数

fieldName
The name of the field.


返回值

Returns a SolrDocumentField instance.