Apache Solr SolrDocument::offsetExists

(PECL solr >= 0.9.2)

SolrDocument::offsetExists — 특정 필드가 있는지 확인


설명

public SolrDocument::offsetExists(string $fieldName): bool

특정 필드가 있는지 확인합니다. 객체가 배열로 취급될 때 사용됩니다.


매개변수

fieldName
필드 이름

반환 값

성공하면 true를, 실패하면 false를 반환합니다.