HaruAnnotation
PHP Manual

HaruAnnotation::setOpened

(PECL haru >= 0.0.1)

HaruAnnotation::setOpenedSet the initial state of the annotation

설명

bool HaruAnnotation::setOpened ( bool $opened )

Defines whether the annotation is initially displayed open. This function may be used with text annotations only.

인수

opened

TRUE means the annotation is initially displayed open, FALSE - means it's closed.

반환값

Returns TRUE on success.

오류/예외

오류 시에 HaruException을 던짐.


HaruAnnotation
PHP Manual