Php/docs/solrdocument.get

提供:Dev Guides
< Php
移動先:案内検索

SolrDocument::__get

(PECL solr >= 0.9.2)

SolrDocument::__getプロパティとしてフィールドにアクセス


説明

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

プロパティとしてフィールドにアクセスするためのマジックメソッド


パラメータ

fieldName
フィールド名


返り値

SolrDocumentField インスタンスを返します。