previousDirectTreeRenderer::setItemTemplate() (Previous) (Next) DirectTreeRenderer::toHtml()next

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

DirectTreeRenderer::setLevelTemplate()

DirectTreeRenderer::setLevelTemplate() – Sets the level template (HTML that wraps around the submenu)

Synopsis

require_once 'HTML/Menu/DirectTreeRenderer.php';

void HTML_Menu_DirectTreeRenderer::setLevelTemplate ( string $prepend , string $append )

Description

These are the strings that will be prepended and appended to HTML generated for menu level. Defaults are


'<ul>'
and


'</ul>'

Parameter

string $prepend

this will be prepended to the rows HTML

string $append

this will be appended to the rows HTML

Throws

throws no exceptions thrown

Note

This function can not be called statically.

previousDirectTreeRenderer::setItemTemplate() (Previous) (Next) DirectTreeRenderer::toHtml()next

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.