PHP - Manual: HaruOutline::setOpened
2024-11-14
(PECL haru >= 0.0.1)
HaruOutline::setOpened — Set the initial state of the outline
$opened
) : boolDefines 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.
发生错误时抛出 HaruException 异常。
官方地址:https://www.php.net/manual/en/haruoutline.setopened.php