HTML_QuickForm_element::accept()

HTML_QuickForm_element::accept() – Accepts a renderer

Synopsis

require_once 'HTML/QuickForm/element.php';

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.

Class constructor (Previous) Returns the current API version (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.