DirectRenderer::setRowTemplate()

DirectRenderer::setRowTemplate() – 行のテンプレート (エントリを囲む HTML) を設定する

Synopsis

require_once 'HTML/Menu/DirectRenderer.php';

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

Description

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


'<tr>'

および


'</tr>'

Parameter

string $prepend

これがエントリの HTML の先頭に追加されます。

string $append

これがエントリの HTML の末尾に追加されます。

Throws

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

Note

This function can not be called statically.