DirectRenderer::setMenuTemplate()

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

概要

require_once 'HTML/Menu/DirectRenderer.php';

void HTML_Menu_DirectRenderer::setMenuTemplate (string $prepend, string $append)

説明

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>'

パラメータ

string $prepend

this will be prepended to the rows HTML

string $append

this will be appended to the rows HTML

例外・エラー

throws no exceptions thrown

注意

この関数は、スタティックにコールする ことはできません。