UI\Menu::appendCheck

(UI 0.9.9)

UI\Menu::appendCheckAppend Checkable Menu Item

说明

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

Shall append a checkable menu item

参数

name

The name (text) for the new item

type

The type for the new item

返回值

A constructed checkable menu item of the given type

User Contributed Notes

There are no user contributed notes for this page.
PHP8中文手册 站长在线 整理 版权归PHP文档组所有