UI\Menu
PHP Manual

UI\Menu::appendCheck

(PHP 7, UI 0.9.9)

UI\Menu::appendCheckAppend 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


UI\Menu
PHP Manual