« UI\Menu::__construct
UI\MenuItem::disable »
PHP Manual
UI
Menu Item
Menu Item
(UI 0.9.9)
简介
Menu Items should only be created by the Menu
类摘要
class
UI\MenuItem
{
/* 方法 */
public
disable
()
public
enable
()
public
isChecked
():
bool
protected
onClick
()
public
setChecked
(
bool
$checked
)
}
目录
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