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