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

HTML_QuickForm_Renderer_Default::setRequiredNoteTemplate() – Sets the template for 'required' note

Synopsis

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

void HTML_QuickForm_Renderer_Default::setRequiredNoteTemplate ( string $html )

Description

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

Parameter

string $html

The HTML surrounding the required note

Throws

throws no exceptions thrown

Note

This function can not be called statically.

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