DirectTreeRenderer::toHtml() | ArrayRenderer::toArray() |
HTML_Menu | |
PEAR Manual | |
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:
|
|
Here entry is
|
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. |
DirectTreeRenderer::toHtml() | ArrayRenderer::toArray() |
HTML_Menu | |
PEAR Manual | |