HaruAnnotation::setOpened

(PECL haru >= 0.0.1)
Set 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.

Parameters:
opened

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

Returns:

Returns TRUE on success.

Exception:

Throws a HaruException on error.

doc_php
2016-02-24 16:03:35
Comments
Leave a Comment

Please login to continue.