Set the initial state of the annotation

# HaruAnnotation::setOpened

(PECL haru >= 0.0.1)

HaruAnnotation::setOpened — Set the initial state of the annotation

### Descrierea

HaruAnnotation::setOpened ( bool `$opened` ) : bool

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

### Parametri

`opened`

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

### Valorile întoarse

Returns `TRUE` on success.

### Erori/Excepții

Emite un HaruException în caz de eroare.