UI\Menu::append

(UI 0.9.9)

UI\Menu::appendAppend Menu Item

説明

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

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

関連キーワード:  Menu, Item, Append, append, type, new, string, MenuItem, item, appendAbout