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 )

Описание

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

Замечание

This function can not be called statically.

    Поддержать сайт на родительском проекте КГБ