update : 2015.11.03
php.shukuma.com

검색:
 
 
Checks if a particular field exists

SolrDocument::offsetExists

(PECL solr >= 0.9.2)

SolrDocument::offsetExistsChecks if a particular field exists

설명

public bool SolrDocument::offsetExists ( string $fieldName )

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

인수

fieldName

The name of the field.

반환값

성공 시 TRUE를, 실패 시 FALSE를 반환합니다.