SolrDocument
PHP Manual

SolrDocument::offsetExists

(PECL solr >= 0.9.2)

SolrDocument::offsetExistsChecks if a particular field exists

Descrizione

public bool SolrDocument::offsetExists ( string $fieldName )

Checks if a particular field exists. This is used when the object is treated as an array.

Elenco dei parametri

fieldName

The name of the field.

Valori restituiti

Restituisce TRUE in caso di successo, FALSE in caso di fallimento.


SolrDocument
PHP Manual