HTML_QuickForm_element::accept()
Synopsis
void HTML_QuickForm_element::accept (
object HTML_QuickForm_Renderer &$renderer
, bool $required
= false
, string $error
= null
)
Description
This method rarely needs to be called directly, it is usually called from HTML_QuickForm::accept() method.
Parameter
-
object HTML_QuickForm_Renderer
&$renderer
-
an instance of HTML_QuickForm_Renderer subclass
-
boolean
$required
-
Whether an element is required
-
string
$error
-
An error message associated with an element
Throws
throws no exceptions thrown
Note
This function can not be called statically.