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.

User Contributed Notes

There are no user contributed notes for this page.
PHP8中文手册 站长在线 整理 版权归PHP文档组所有