UI\Menu
PHP Manual

UI\Menu::append

(PHP 7, UI 0.9.9)

UI\Menu::appendAppend Menu Item

Описание

public UI\MenuItem UI\Menu::append ( string $name [, string $type = UI\MenuItem::class ] )

Shall append a new Menu Item

Список параметров

name

The name (text) for the new item

type

The type for the new item

Возвращаемые значения

A constructed object of the given type


UI\Menu
PHP Manual