PHP Dokumentation: Function haruannotation-setopened
12. Januar 2010 von werner
HaruAnnotation::setOpened
(PECL haru >= 0.0.1)
HaruAnnotation::setOpened — Set the initial state of the annotation
Beschreibung
bool HaruAnnotation::setOpened ( bool $opened )
Defines whether the annotation is initially displayed open. This function may be used with text annotations only.
Parameter-Liste
- opened
TRUE means the annotation is initially displayed open, FALSE – means it's closed.
Rückgabewerte
Returns TRUE on success.
Fehler/Exceptions
Throws a HaruException on error.