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)

Description

Updates Attributes for one or more elements

Parameter

mixed $elements

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

mixed $attrs

Array or string of html attributes

Throws

throws no exceptions thrown

Note

since 2.10

This function can not be called statically.