Php/docs/solrdocument.get
来自菜鸟教程
SolrDocument::__get
(PECL solr >= 0.9.2)
SolrDocument::__get — Access 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.