previousHTML_QuickForm_Renderer_ITStatic::
setErrorTemplate()
(Previous)
(Next) HTML_QuickForm_Renderer_ObjectFlexynext

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_ITStatic::setRequiredTemplate()

HTML_QuickForm_Renderer_ITStatic::setRequiredTemplate() – Définit la façon dont les éléments requis sont rendus

Synopsis

require_once 'HTML/QuickForm/Renderer/ITStatic.php';

void HTML_QuickForm_Renderer_ITStatic::setRequiredTemplate ( string $template )

Description

Vous pouvez utiliser les marqueurs {label} ou {html} pour indiquer au moteur de rendu où l'élément label ou l'élément html sont positionnés par rapport à la balise requise. Ils seront remplacés par leurs valeurs. Par exemple : <font color="red">*</font>{label} placera une étoile rouge devant le label si l'élément est requis.

Parameter

string $template

Le template de l'élément requis

Throws

No exceptions thrown.

Note

This function can not be called statically.

previousHTML_QuickForm_Renderer_ITStatic::
setErrorTemplate()
(Previous)
(Next) HTML_QuickForm_Renderer_ObjectFlexynext

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.