DirectRenderer::setMenuTemplate()

DirectRenderer::setMenuTemplate() – Sets the menu template (HTML that wraps around rows)

Synopsis

require_once 'HTML/Menu/DirectRenderer.php';

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

Description

These are the strings that will be prepended and appended to HTML generated for menu rows on each call to finishMenu(). Defaults are


'<table border="1">'

and


'</table>'

Parameter

string $prepend

this will be prepended to the rows HTML

string $append

this will be appended to the rows HTML

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Sets the template for menu entry. (Previous) Sets the row template (HTML that wraps around entries) (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.