array of elements composing the group
(optional) group name
(optional) group label
(optional) string or array of strings to separate elements
(optional) specify whether the group name should be used in the form element name: groupName[elementName] vs elementName
Tabel 42-1. Mogelijke PEAR_Error waarden
Error code | Error message | Reason | Solution |
---|---|---|---|
QUICKFORM_INVALID_ELEMENT_NAME | Element '$elementName' already exists in HTML_QuickForm::addElement() | Tried to add a group having a name of an existing element | Choose a different name for a group |
Voorbeeld 42-1. Using addGroup()
|