DirectRenderer::setMenuTemplate()

DirectRenderer::setMenuTemplate() – メニューのテンプレート (行を囲む HTML) を設定する

Synopsis

require_once 'HTML/Menu/DirectRenderer.php';

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

Description

これは、 finishMenu() がコールされるたびにメニューの HTML の前後に追加される文字列となります。 デフォルトは次のようになります。


'<table border="1">'

および


'</table>'

Parameter

string $prepend

これが行の HTML の先頭に追加されます。

string $append

これが行の HTML の末尾に追加されます。

Throws

例外はスローされません。

Note

This function can not be called statically.