Apache Solr SolrObject 클래스
(PECL solr >= 0.9.2)
소개
이것은 배열 구문을 사용하여 속성에 액세스할 수도 있는 개체입니다. 모든 속성은 읽기 전용입니다.
클래스 개요
final class SolrObject implements ArrayAccess {
/* Methods */
public __construct()
public getPropertyNames(): array
public offsetExists(string $property_name): bool
public offsetGet(string $property_name): mixed
public offsetSet(string $property_name, string $property_value): void
public offsetUnset(string $property_name): void
public __destruct()
}
목차
- SolrObject::__construct — Solr 객체 생성
- SolrObject::__destruct — Destructor
- SolrObject::getPropertyNames — 속성의 모든 이름의 배열을 반환합니다.
- SolrObject::offsetExists — 속성이 존재하는지 확인
- SolrObject::offsetGet — 속성을 검색하는 데 사용
- SolrObject::offsetSet — 속성 값을 설정합니다.
- SolrObject::offsetUnset — 속성 값을 설정 해제합니다.