PHP Conference Nagoya 2025

Menu

(UI 0.9.9)

Introduction

Les menus doivent être construits avant la première fenêtre, et peuvent être affichés sur n'importe quelle fenêtre

Synopsis de la classe

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

Sommaire

add a note

User Contributed Notes

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