DirectRenderer::setMenuTemplate()

DirectRenderer::setMenuTemplate()

DirectRenderer::setMenuTemplate() -- Sets the menu template (HTML that wraps around rows)

Description

These are the strings that will be prepended and appended to HTML generated for menu rows on each call to finishMenu(). Defaults are
'<table border="1">'
and
'</table>'

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.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.