Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<UI\Control::showUI\Menu::append>
^UILast updated: Mon, 26 Oct 2026

Menu

(UI 0.9.9)

Introduction

Menus must be constructed before the first Window, and can be shown on any Window

Class synopsis

class UI\Menu {
/* Constructor */
public function __construct(string $name)
/* Methods */
public function append(string $name, string $type = UI\MenuItem::class): UI\MenuItem
public function appendAbout(string $type = UI\MenuItem::class): UI\MenuItem
public function appendCheck(string $name, string $type = UI\MenuItem::class): UI\MenuItem
public function appendPreferences(string $type = UI\MenuItem::class): UI\MenuItem
public function appendQuit(string $type = UI\MenuItem::class): UI\MenuItem
public function appendSeparator()
}

Table of Contents


<UI\Control::showUI\Menu::append>
^UILast updated: Mon, 26 Oct 2026