| HTML_QuickForm_group::setElements() | |
| PEAR Manual | |
require_once 'HTML/QuickForm/Renderer/ObjectFlexy.php';
|
void HTML_QuickForm_Renderer_ObjectFlexy::setLabelTemplate (
string $template
)
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}
|
Filename of template
throws no exceptions thrown
This function can not be called statically.
| HTML_QuickForm_group::setElements() | |
| PEAR Manual | |