Scholar Repository
Home>Manual>Checks if a field exists

Checks if a field exists


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.


Home>Manual>Checks if a field exists