HTML_QuickForm_Renderer_Default::setFormTemplate()
HTML_QuickForm_Renderer_Default::setFormTemplate() – Sets form template
Synopsis
require_once 'HTML/QuickForm/Renderer/Default.php';
void HTML_QuickForm_Renderer_Default::setFormTemplate (
string $html
)
Описание
Sets form template. The template should include {attributes}
and {content}
placeholders.
The default form template is
"\n<form{attributes}>\n<table border=\"0\">\n{content}\n</table>\n</form>"
Parameter
-
string
$html
-
The HTML surrounding the form tags
Throws
throws no exceptions thrown
Замечание
This function can not be called statically.