Class: atkPlainMenu
Source Location: /menu/class.atkplainmenu.inc
Class atkPlainMenu
Method Summary
| String |
render() |
Render the menu |
Methods
Get the height for this menu
API Tags:
| Return: | The height of the menu |
Redefinition of:
- atkmenuinterface::getHeight()
- If the menu is displayed in the top frame of the application, this method should return the height of the frame that the menu requires.
Get the menu
API Tags:
Redefined in descendants as:
Is this menu multilevel?
API Tags:
| Return: | MENU_MULTILEVEL or MENU_NOMULTILEVEL |
Redefinition of:
- atkmenuinterface::getMultilevel()
- Determine if the menu can handle multiple levels of submenu.
Get the menu position
API Tags:
| Return: | The menu position (MENU_RIGHT, MENU_TOP, MENU_BOTTOM or MENU_LEFT) |
Redefinition of:
- atkmenuinterface::getPosition()
- Retrieve the position in which the menu is displayed.
Is this menu scrollable?
API Tags:
| Return: | MENU_SCROLLABLE or MENU_UNSCROLLABLE |
Redefinition of:
- atkmenuinterface::getScrollable()
- Retrieve the scrolling possibilities of the menu.
int menu_cmp(
array
$a, array
$b
)
|
|
Compare two menuitems
Parameters:
Render the menu
API Tags:
| Return: | HTML fragment containing the menu. |
Redefinition of:
- atkmenuinterface::render()
- Render the menu
Redefined in descendants as: