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)

Описание

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

Параметр

string $html

The HTML surrounding the required note

Throws

throws no exceptions thrown

Заметка

Эта функция не должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ