DirectTreeRenderer::setEntryTemplate() (Previous) (Next) DirectTreeRenderer::setLevelTemplate()

View this page in Last updated: Sun, 31 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

DirectTreeRenderer::setItemTemplate()

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

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() (Previous) (Next) DirectTreeRenderer::setLevelTemplate()

Download Documentation Last updated: Sun, 31 Aug 2008
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.