HTML_QuickForm_Renderer_Default::setFormTemplate()

HTML_QuickForm_Renderer_Default::setFormTemplate() -- Sets form template

概要

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>"

パラメータ

string $html

The HTML surrounding the form tags

例外・エラー

throws no exceptions thrown

注意

この関数は、スタティックにコールする ことはできません。