HTML_QuickForm_Renderer_Default::setRequiredNoteTemplate()
HTML_QuickForm_Renderer_Default::setRequiredNoteTemplate() -- Sets the template for 'required' note
概要
require_once 'HTML/QuickForm/Renderer/Default.php'; |
void HTML_QuickForm_Renderer_Default::setRequiredNoteTemplate (string $html)
説明
Sets the note indicating required fields template. The template should include the {requiredNote} placeholder.
The default template is
"\n\t<tr>\n\t\t<td></td>\n\t<td align=\"left\" valign=\"top\">{requiredNote}</td>\n\t</tr>" |
パラメータ
- string
$html
The HTML surrounding the required note
例外・エラー
throws no exceptions thrown
注意
この関数は、スタティックにコールする
ことはできません。