« UI\Menu::__construct
UI\MenuItem::disable »
PHP Manual
UI
Menu Item
Menu Item
(PHP 7, UI 0.9.9)
Giriş
Menu Items should only be created by the Menu
Sınıf Sözdizimi
UI\MenuItem
{
/* Yöntemler */
public
disable
(
void
)
public
enable
(
void
)
public
isChecked
(
void
) :
bool
protected
onClick
(
void
)
public
setChecked
(
bool
$checked
)
}
İçindekiler
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