« SolrDocument::__unset
SolrDocumentField »

SolrDocument::valid

(PECL solr >= 0.9.2)

SolrDocument::valid — Checks if the current position internally is still valid

説明

public function SolrDocument::valid(): bool

Checks if the current position internally is still valid. It is used during foreach operations.

パラメータ

この関数にはパラメータはありません。

戻り値

Returns true on success and false if the current position is no longer valid.

関連キーワード:
position   SolrDocument   unset   SolrDocumentField   solr   foreach   operations   success
関連する関数・ページ:
solrdocument.current   solrdocument.clone   solrdocument.merge   solrdocument.construct   solrdocument.reset   solrdocument.offsetget