UI\Menu::__construct
UI\MenuItem::disable
UI
PHP Manual
Menu Item
(PHP 7, UI 0.9.9)
Introduction
Menu Items should only be created by the Menu
Class synopsis
UI\MenuItem
{
/* Methods */
public
disable
(
void
)
public
enable
(
void
)
public
bool
isChecked
(
void
)
protected
onClick
(
void
)
public
setChecked
(
boolean
$checked
)
}
Table of Contents
UI\MenuItem::disable
— Disable Menu Item
UI\MenuItem::enable
— Enable Menu Item
UI\MenuItem::isChecked
— Detect Checked
UI\MenuItem::onClick
— On Click Callback
UI\MenuItem::setChecked
— Set Checked
UI\Menu::__construct
UI\MenuItem::disable
UI
PHP Manual