DirectTreeRenderer::setEntryTemplate() DirectTreeRenderer::setLevelTemplate()

HTML_Menu

PEAR Manual


DirectTreeRenderer::setItemTemplate()

DirectTreeRenderer::setItemTemplate() -- Sets the item template (HTML that wraps around entries)

Synopsis

      require_once 'HTML/Menu/DirectTreeRenderer.php';
     

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

Description

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


'<li>'

and

'</li>'

Parameter

string $prepend

this will be prepended to the entries HTML

string $append

this will be appended to the entries HTML

Throws

throws no exceptions thrown

Note

This function can not be called statically.



DirectTreeRenderer::setEntryTemplate() DirectTreeRenderer::setLevelTemplate()

HTML_Menu

PEAR Manual