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