HaruAnnotation::setOpened

(PECL haru >= 0.0.1)

HaruAnnotation::setOpenedSet the initial state of the annotation

Açıklama

HaruAnnotation::setOpened ( bool $opened ) : bool

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

Değiştirgeler

opened

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

Dönen Değerler

Returns TRUE on success.

Hatalar/İstisnalar

Hata durumunda bir HaruException istisnası oluşur.