Menu
Menus are objects that can return a list of menu items they contain. How they generate this list is up to them. Commonly, however, they will look up adapters that provide the ``IBrowserMenuItem`` interface.
id
*
-
TextLine
(default =
None
)
The id uniquely identifies this menu.
description
-
Text
(default =
None
)
A description of the menu. This might be shown on menu pages or in pop-up help for menus.
title
-
TextLine
(default =
None
)
The title provides the basic label for the menu.
* = required
getMenuItems(object, request)
Return a TAL-friendly list of menu items.
The object (acts like the context) and request can be used to select the items that are available.