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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top