HTML_QuickForm::updateElementAttr()

HTML_QuickForm::updateElementAttr() -- Updates Attributes for one or more elements

Synopsis

require_once 'HTML/QuickForm.php';

void HTML_QuickForm::updateElementAttr (mixed $elements, mixed $attrs)

Beschreibung

Updates Attributes for one or more elements

Warnung

This may not work for groups and group-based elements (date, hierselect). To ensure proper behaviour, you should update attributes of grouped elements manually.

Parameter

mixed $elements

Array of element names/objects or string of elements to be updated

mixed $attrs

Array or string of html attributes

Fehler-Meldungen

throws no exceptions thrown

Hinweise

since 2.10

Diese Methode kann nicht statisch aufgerufen werden.