UI\Menu::appendCheck

Append Checkable Menu Item

説明

public UI\MenuItem UI\Menu::appendCheck(string $name, string $type = UI\MenuItem::class)

Shall append a checkable menu item

パラメータ

name

The name (text) for the new item

type

The type for the new item

戻り値

A constructed checkable menu item of the given type