SolrDocument::valid

(PECL solr >= 0.9.2)

SolrDocument::validChecks if the current position internally is still valid

说锟斤拷

public SolrDocument::valid ( void ) : 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.