HaruAnnotation::setOpened
(PECL haru >= 0.0.1)
HaruAnnotation::setOpened — Set the initial state of the annotation
Описание
HaruAnnotation::setOpened
( bool
$opened
) : boolDefines whether the annotation is initially displayed open. This function may be used with text annotations only.
Список параметров
-
opened -
TRUEmeans the annotation is initially displayed open,FALSE- means it's closed.
Возвращаемые значения
Returns TRUE on success.
Ошибки
Вызывает исключение HaruException при ошибке.