previousconstructor HTML_QuickForm_Renderer_Array::
HTML_QuickForm_Renderer_Array()
(Previous)
(Next) HTML_QuickForm_Renderer_Array::toArray()next

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

HTML_QuickForm_Renderer_Array::setElementStyle()

HTML_QuickForm_Renderer_Array::setElementStyle() – Sets a style to use for element rendering

Synopsis

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

void HTML_QuickForm_Renderer_Array::setElementStyle ( mixed $elementName , string $styleName = null )

Description

Sets a style to use for element rendering (this style can later be checked by e.g. a template engine).

Parameter

mixed $elementName

element name or array ('element name' => 'style name')

string $styleName

style name if $elementName is not an array

Throws

throws no exceptions thrown

Note

This function can not be called statically.

previousconstructor HTML_QuickForm_Renderer_Array::
HTML_QuickForm_Renderer_Array()
(Previous)
(Next) HTML_QuickForm_Renderer_Array::toArray()next

Download Documentation Last updated: Tue, 02 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.