HaruAnnotation
PHP Manual

HaruAnnotation::setOpened

(PECL haru >= 0.0.1)

HaruAnnotation::setOpenedSet the initial state of the annotation

Descrizione

bool HaruAnnotation::setOpened ( bool $opened )

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

Elenco dei parametri

opened

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

Valori restituiti

Returns TRUE on success.

Errori/Eccezioni

Lancia un'eccezione HaruException in caso di errore.


HaruAnnotation
PHP Manual