The resultant array can be used with e.g. a template engine to produce a completely custom menu look.
All menu types except 'rows' are "rendered" into a one-dimensional array of entries:
while 'rows' produce a two-dimensional array:
Here entry is
A list of the above mentioned HTML_MENU_ENTRY_* constants can be found here.
HTML_Menu_ArrayRenderer
HTML_Menu_ArrayRenderer Inherited Methods
| Method Name | Summary |
|---|---|
| HTML_Menu_Renderer::finishLevel() | Finish the tree level (for types 'tree' and 'sitemap') |
| HTML_Menu_Renderer::finishMenu() | Finish the menu |
| HTML_Menu_Renderer::finishRow() | Finish the row in the menu |
| HTML_Menu_Renderer::renderEntry() | Renders the element of the menu |
| HTML_Menu_Renderer::setMenuType() | Sets the type of the menu being rendered. |
| Prev | HTML_Menu | Next |
| DirectTreeRenderer::toHtml() | PEAR Manual | ArrayRenderer::toArray() |