HaruOutline::setOpened

(PECL haru >= 0.0.1)

HaruOutline::setOpenedSet the initial state of the outline

Descrierea

HaruOutline::setOpened ( bool $opened ) : bool

Defines whether this node is opened or not when the outline is displayed for the first time.

Parametri

opened

TRUE means open, FALSE - closed.

Valorile întoarse

Returns TRUE on success.

Erori/Excepții

Emite un HaruException în caz de eroare.