Scriptindex.de

[ Menü ]

Home
News
Scripts
Neuzugänge
Suchen
Bücher
Manuals

[ Inhalt ]

Script eintragen
Tutorial eintragen
Newsletter
Umfragen
Link zu uns
Werbung bei uns
Kontakt
Impressum

[ Statistik ]

Hits gesamt: 5201567
Hits Heute: 996
max. Hits (10.07.07): 6964
User Online: 32
Scripts: 2828

[ Partner ]

CodeBase
I.S.U.M.
LUG Bayreuth
PEAR NEWS
PHP Classes

[ Facebook ]

[ Eigene Domain? ]

[ Buchtipp ]

XML und VBA lernen . Anfangen, anwenden, verstehen
XML und VBA lernen . Anfangen, anwenden, verstehen

Manuals > PEAR > HTML_QuickForm_Renderer_ArraySmarty::setRequiredTemplate()

HTML_QuickForm_Renderer_ArraySmarty::setRequiredTemplate()

HTML_QuickForm_Renderer_ArraySmarty::setRequiredTemplate() -- Sets the way required elements are rendered

Description

You can use or placeholders to let the renderer know where where the element label or the element html are positionned according to the required tag. They will be replaced accordingly with the right value. You can use the full smarty syntax here, especially a custom modifier for I18N. For example: {if $required}<span style="color: red;">*</span> will put a red star in front of the label if the element is required and translate the label.

Parameter

string $template

The required element template

Throws

throws no exceptions thrown

Note

This function can not be called statically.


Copyright 1998 - 2009 by I.S.U.M.