SolrDocument
PHP 手册

SolrDocument::__get

(PECL solr >= 0.9.2)

SolrDocument::__getAcess the field as a property

说明

public SolrDocumentField SolrDocument::__get ( string $fieldName )

Magic method for accessing the field as a property.

参数

fieldName

The name of the field.

返回值

Returns a SolrDocumentField instance.


SolrDocument
PHP 手册