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


require_once 'HTML/QuickForm.php';

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


Updates Attributes for one or more elements

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


mixed $elements

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

mixed $attrs

Array or string of html attributes


throws no exceptions thrown


since 2.10

This function can not be called statically.

Sets the value of MAX_FILE_SIZE hidden element (Previous) Classes representing form elements (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.