PEAR-Handbuch | ||
---|---|---|
Zurück | Nach vorne |
Adds an element into the form. If $element is a string representing an element type, then this method accepts variable number of parameters, their meaning and count depending on element type.
Parameters starting from second will be passed to the element's constructor, consult the docs for the appropriate element to find out which parameters to pass.
Tabelle 42-1. Mögliche Fehler-Arten
Error code | Error message | Reason | Solution |
---|---|---|---|
QUICKFORM_UNREGISTERED_ELEMENT | Element '$element' does not exist in HTML_QuickForm::_loadElement() | Tried to add an element of unknown type | Check the type name spelling or use HTML_QuickForm::registerElementType() |
QUICKFORM_INVALID_ELEMENT_NAME | Element 'elementName' already exists in HTML_QuickForm::addElement() | Tried to add an element having a name of an existing element, but of different type | Choose a different name for an element |
Zurück | Zum Anfang | Nach vorne |
constructor HTML_QuickForm::HTML_QuickForm() | Nach oben | HTML_QuickForm::apiVersion() |