HTML_QuickForm_Renderer_ObjectFlexy::setHtmlTemplate()

HTML_QuickForm_Renderer_ObjectFlexy::setHtmlTemplate() – Set the filename of the template to render html elements.

Synopsis

require_once 'HTML/QuickForm/Renderer/ObjectFlexy.php';

void HTML_QuickForm_Renderer_ObjectFlexy::setHtmlTemplate ( string $template )

Description

In your template, {html} is replaced by the unmodified html. If the element is required, {required} will be true. Eg.


{if:error}
 <font color="red" size="1">{error:h}</font><br />
{end:}
{html:h}

Parameter

string $template

Filename of template

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Constructor (Previous) Set the filename of the template to render html elements. (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.