HTML_QuickForm_Renderer_ObjectFlexy::setLabelTemplate()

HTML_QuickForm_Renderer_ObjectFlexy::setLabelTemplate() – Set the filename of the template to render html elements.

Synopsis

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

void HTML_QuickForm_Renderer_ObjectFlexy::setLabelTemplate ( string $template )

Description

Set the filename of the template to render form labels. In your template, {label} is replaced by the unmodified label, {error} will be set to the error, if any. {required} will be true if this is a required field Eg.


{if:required}
  <font color="orange" size="1">*</font>
{end:}
{label:h}

Parameter

string $template

Filename of template

Throws

throws no exceptions thrown

Note

This function can not be called statically.

HTML_QuickForm_Renderer_ObjectFlexy::
setHtmlTemplate() (Previous)
HTML_QuickForm_Renderer_QuickHtml (Next)
Last updated: Tue, 02 Jun 2009 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.