SolrDocument::valid

(PECL solr >= 0.9.2)

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

Descrição

publicSolrDocument::valid(): bool

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

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

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

To Top