KoolMenuItem Class [PHP]

Summary

Properties Description
id Get the id of KoolMenuItem.
Methods Description
collapse Make menu item collapse its sub panel.
enable Enabled or disabled menu item.
expand Make menu item expand its sub panel.
getChildItems Return the list of child menu items.
hasChild Get whether the menu item has child.
isEnabled Get whether the menu item is enabled.
select Make menu item selected.

Properties Detail

idTop

string id

Get the id of KoolMenuItem.

Show/Hide Code

Supported from version: 1.0.0.1

Methods Detail

collapseTop

void collapse()

Make menu item collapse its sub panel.

Show/Hide Code

Supported from version: 1.0.0.0

enableTop

void enable(bool _bool)

Enabled or disabled menu item.

Show/Hide Code

Supported from version: 1.0.0.0

expandTop

void expand()

Make menu item expand its sub panel.

Show/Hide Code

Supported from version: 1.0.0.0

getChildItemsTop

array getChildItems()

Return the list of child menu items.

Show/Hide Code

Supported from version: 1.0.0.1

hasChildTop

bool hasChild()

Get whether the menu item has child. This function is useful to determine whether the menu item contains a sub group of child items.

Show/Hide Code

Supported from version: 1.0.0.0

isEnabledTop

bool isEnabled()

Get whether the menu item is enabled.

Show/Hide Code

Supported from version: 1.0.0.0

selectTop

void select()

Make menu item selected.

Show/Hide Code

Supported from version: 1.0.0.0