HTML_QuickForm_Renderer_Tableless::addStopFieldsetElements

HTML_QuickForm_Renderer_Tableless::addStopFieldsetElements() – Adds one or more element names that indicate the end of a fieldset (a new one will be opened when a the next header element occurs)

Synopsis

void HTML_QuickForm_Renderer_Tableless::addStopFieldsetElements ( mixed $element , string $class = '' )

Description

Adds one or more element names that indicate the end of a fieldset (a new one will be opened when the next header element occurs).

If a class name is given, it will be added to each (hidden) fieldset that is generated before each of the specified element. For example, if you specify an array with five element names, all five fieldsets with get this additional class name.

Parameter

mixed $element

Element name(s) (as array or string)

string $class

(optional) Class name for the fieldset(s)

Throws

throws no exceptions thrown

Note

This function can not be called statically.