DirectRenderer::setRowTemplate()
DirectRenderer::setRowTemplate() – Sets the row template (HTML that wraps around entries)
Synopsis
require_once 'HTML/Menu/DirectRenderer.php';
void HTML_Menu_DirectRenderer::setRowTemplate (
string $prepend
, string $append
)
Описание
These are the strings that will be prepended and appended to HTML generated for menu entries on each call to finishRow(). Defaults are
'<tr>'
and
'</tr>'
Parameter
-
string
$prepend
-
this will be prepended to the entries HTML
-
string
$append
-
this will be appended to the entries HTML
Throws
throws no exceptions thrown
Замечание
This function can not be called statically.
Пред. | HTML_Menu | След. |
DirectRenderer::setMenuTemplate() | PEAR Руководство | DirectRenderer::toHtml() |