SolrDocument
PHP Manual

SolrDocument::__isset

(PECL solr >= 0.9.2)

SolrDocument::__issetChecks if a field exists

Description

public bool SolrDocument::__isset ( string $fieldName )

Checks if a field exists

Parameters

fieldName

Name of the field.

Return Values

Returns TRUE on success or FALSE on failure.


SolrDocument
PHP Manual