This renderer directly generates the menu HTML, thus the name. It is loosely based on HTML_Menu 1.0 code, but while it was needed to subclass HTML_Menu to customize its output, HTML_Menu_DirectRenderer has built-in methods for changing menu appearance.
HTML_Menu_DirectRenderer
HTML_Menu_DirectRenderer Inherited Methods
Таблица 42-1. Inherited from HTML_Menu_Renderer
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. |
Пред. | Начало | След. |
HTML_Menu_Renderer::setMenuType() | Уровень выше | DirectRenderer::setEntryTemplate() |
HIVE: All information for read only. Please respect copyright! |