Home > PHP > Function > > HaruOutline::setOpened()

HaruOutline::setOpened()

HaruOutline::setOpened - Set the initial state of the outline

Syntax

bool HaruOutline::setOpened (bool $opened)

Arguments

  • opened - TRUE means open, FALSE - closed.

Description

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

Version

PHP PECL haru >= 0.0.1

Return value

Returns TRUE on success.