object &HTML_QuickForm::getElement (
string $element
)
Returns a reference to the form element.
$element
Element name
return reference to element
Error code | Error message | Reason | Solution |
---|---|---|---|
QUICKFORM_NONEXIST_ELEMENT | Element '$element ' does not exist in HTML_QuickForm::getElement() |
Tried to get a non-existant element | Check the element's name spelling |
since 2.0
This function can not be called statically.