HaruAnnotation::setOpened

(PECL haru >= 0.0.1)

HaruAnnotation::setOpenedSet the initial state of the annotation

说锟斤拷

HaruAnnotation::setOpened ( bool $opened ) : bool

Defines whether the annotation is initially displayed open. This function may be used with text annotations only.

锟斤拷锟斤拷

opened

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

锟斤拷锟斤拷值

Returns TRUE on success.

锟斤拷锟斤拷锟届常

锟斤拷锟斤拷锟斤拷锟斤拷时锟阶筹拷 HaruException 锟届常锟斤拷