previousHTML_QuickForm_Renderer_Default::
setElementTemplate()
(Previous)
(Next) HTML_QuickForm_Renderer_Default::
setGroupElementTemplate()
next

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

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 )

Description

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

Note

This function can not be called statically.

previousHTML_QuickForm_Renderer_Default::
setElementTemplate()
(Previous)
(Next) HTML_QuickForm_Renderer_Default::
setGroupElementTemplate()
next

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.