PHP 8.4.1 Released!

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

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top