GoLang HaruAnnotation::setOpened

request it (262)
GoLang replacement for PHP's HaruAnnotation::setOpened [edit | history]



Do you know a GoLang replacement for PHP's HaruAnnotation::setOpened? Write it!

PHP HaruAnnotation::setOpened

PHP original manual for HaruAnnotation::setOpened [ show | php.net ]

HaruAnnotation::setOpened

(PECL haru >= 0.0.1)

HaruAnnotation::setOpenedSet the initial state of the annotation

Description

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.

Return Values

Returns TRUE on success.

Errors/Exceptions

Throws a HaruException on error.