UI\Menu::append

(PHP 7, UI 0.9.9)

UI\Menu::appendAppend Menu Item

Descripción

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

Shall append a new Menu Item

Parámetros

name

The name (text) for the new item

type

The type for the new item

Valores devueltos

A constructed object of the given type