previousHTML_QuickForm_Renderer_ITStatic::
setErrorTemplate()
(Previous)
(Next) HTML_QuickForm_Renderer_ObjectFlexynext

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

HTML_QuickForm_Renderer_ITStatic::setRequiredTemplate()

HTML_QuickForm_Renderer_ITStatic::setRequiredTemplate() – 必須要素をレンダリングする方法を設定する

Synopsis

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

void HTML_QuickForm_Renderer_ITStatic::setRequiredTemplate ( string $template )

Description

プレースホルダ {label} あるいは {html} を使用し、 要素のラベルや HTML が必須要素のどの部分に配置されるのかをレンダラに教えることができます。 これらのプレースホルダは、正しい値に適切に置き換えられます。 例えば、<font color="red">*</font>{label} は、必須要素のラベルの先頭に赤い星印をつけます。

Parameter

string $template

必須要素のテンプレート。

Throws

例外はスローされません。

Note

This function can not be called statically.

previousHTML_QuickForm_Renderer_ITStatic::
setErrorTemplate()
(Previous)
(Next) HTML_QuickForm_Renderer_ObjectFlexynext

Download Documentation Last updated: Sun, 21 Jun 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.