HTML_QuickForm_Renderer_Default::setRequiredNoteTemplate()
HTML_QuickForm_Renderer_Default::setRequiredNoteTemplate() – Définit le template pour une note requise
Synopsis
require_once 'HTML/QuickForm/Renderer/Default.php';
void HTML_QuickForm_Renderer_Default::setRequiredNoteTemplate (
string $html
)
Description
Définit le template pour une note indiquant des champs requis. Le template doit
inclure le marqueur {requiredNote}.
Le template par défaut est :
"\n\t<tr>\n\t\t<td></td>\n\t<td align=\"left\" valign=\"top\">{requiredNote}</td>\n\t</tr>"
Parameter
-
string
$html
-
Le HTML entourant la note requise
Throws
No exceptions thrown.
Note
This function can not be called
statically.