KoolMenuItem Class [PHP]

Summary

Properties Description
Enabled Get or set whether the item is enabled.
GroupSettings Get or set properties of menu item's group settings.
id Get id of KoolMenuItem.
ImageUrl Get or set the image url of item.
Link Get or set the text of item.
Target Get or set the target of the item.
Text Get or set the text of item.
ToolTip Get or set the tooltip of item.
Width Get or set the width of item.
Methods Description
AddChild Add sub menuitem.
AddSeparator Add a separator.

Properties Detail

EnabledTop

bool Enabled

Get or set whether the item is enabled.

Default value : true

Show/Hide Code

Supported from version: 1.0.0.0

GroupSettingsTop

GroupSettings GroupSettings

Get or set properties of menu item's group settings.

Show/Hide Code

Supported from version: 1.0.0.0

idTop

string id

Get id of KoolMenuItem.

Show/Hide Code

Supported from version: 1.0.0.0

ImageUrlTop

string ImageUrl

Get or set the image url of item.

Show/Hide Code

Supported from version: 1.0.0.0

TargetTop

string Target

Get or set the target of the item. The target would be "_blank" or any frame's name.

Show/Hide Code

Supported from version: 1.0.0.0

TextTop

string Text

Get or set the text of item.

Show/Hide Code

Supported from version: 1.0.0.0

ToolTipTop

string ToolTip

Get or set the tooltip of item.

Show/Hide Code

Supported from version: 1.0.0.0

WidthTop

string Width

Get or set the width of item.

Show/Hide Code

Supported from version: 1.0.0.0

Methods Detail

AddChildTop

KoolMenuItem AddChild(KoolMenuItem $menu_item)

Add sub menuitem.

Show/Hide Code

Supported from version: 1.0.0.0

AddSeparatorTop

KoolMenuItem AddSeparator()

Add a separator.

Show/Hide Code

Supported from version: 1.0.0.0