DirectTreeRenderer::setLevelTemplate()
DirectTreeRenderer::setLevelTemplate() -- Sets the level template (HTML that wraps around the submenu)
概要
require_once 'HTML/Menu/DirectTreeRenderer.php'; |
void HTML_Menu_DirectTreeRenderer::setLevelTemplate (string $prepend, string $append)
説明
These are the strings that will be prepended and appended to HTML generated for menu level.
Defaults are
and
パラメータ
- string
$prepend
this will be prepended to the rows HTML
- string
$append
this will be appended to the rows HTML
例外・エラー
throws no exceptions thrown
注意
この関数は、スタティックにコールする
ことはできません。