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 )

Описание

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

Замечание

This function can not be called statically.

    Поддержать сайт на родительском проекте КГБ