previousHTML_QuickForm_Renderer_Default::
setGroupTemplate()
(Previous)
(Next) HTML_QuickForm_Renderer_Default::
setRequiredNoteTemplate()
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::setHeaderTemplate()

HTML_QuickForm_Renderer_Default::setHeaderTemplate() – Définit le template pour l'en-tête

Synopsis

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

void HTML_QuickForm_Renderer_Default::setHeaderTemplate ( string $html )

Description

Définit le template pour l'en-tête. Le template doit inclure le marqueur {header}.

Le template par défaut est :


"\n\t<tr>\n\t\t<td style=\"white-space: nowrap; background-color: #CCCCCC;\" align=\"left\" valign=\"top\" colspan=\"2\"><b>{header}</b></td>\n\t</tr>"

Parameter

string $html

Le HTML entourant l'en-tête

Throws

No exceptions thrown.

Note

This function can not be called statically.

previousHTML_QuickForm_Renderer_Default::
setGroupTemplate()
(Previous)
(Next) HTML_QuickForm_Renderer_Default::
setRequiredNoteTemplate()
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.