Forum und email

HaruAnnotation::setOpened

(PECL haru:0.0.1)

HaruAnnotation::setOpened — Définit le statut initial de l'annotation

Description

bool HaruAnnotation::setOpened ( bool $opened )

Définit si l'annotation est initialement affichée ouverte ou non. Cette fonction doit être utilisée uniquement avec les annotations.

Liste de paramètres

opened

TRUE signifie que l'annotation est initialement affichée ouverte, FALSE signifie close.

Valeurs de retour

Retourne TRUE en cas de succès.

Erreurs / Exceptions

Lance une exception HaruException en cas d'erreur.