HaruOutline
PHP Manual

HaruOutline::setOpened

(PECL haru >= 0.0.1)

HaruOutline::setOpenedSet the initial state of the outline

Описание

bool HaruOutline::setOpened ( bool $opened )

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

Параметри

opened

TRUE means open, FALSE - closed.

Връщани стойности

Returns TRUE on success.

Грешки/Изключения

Throws a HaruException on error.


HaruOutline
PHP Manual