previousconstructor HTML_QuickForm_Renderer_ObjectFlexy::
HTML_QuickForm_Renderer_ObjectFlexy()
(Previous)
(Next) HTML_QuickForm_Renderer_ObjectFlexy::
setLabelTemplate()
next

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

HTML_QuickForm_Renderer_ObjectFlexy::setHtmlTemplate()

HTML_QuickForm_Renderer_ObjectFlexy::setHtmlTemplate() – html 要素のレンダリングに使用するテンプレートのファイル名を設定する

Synopsis

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

void HTML_QuickForm_Renderer_ObjectFlexy::setHtmlTemplate ( string $template )

Description

テンプレート内では、{html} が未修正の html に変換されます。 要素が必須の場合は、{required} が true となります。例を示します。


{if:error}
 <font color="red" size="1">{error:h}</font><br />
{end:}
{html:h}

Parameter

string $template

テンプレートのファイル名。

Throws

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

Note

This function can not be called statically.

previousconstructor HTML_QuickForm_Renderer_ObjectFlexy::
HTML_QuickForm_Renderer_ObjectFlexy()
(Previous)
(Next) HTML_QuickForm_Renderer_ObjectFlexy::
setLabelTemplate()
next

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.