Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 17412 программистов и 1638 роботов. Сейчас ищут 2069 программистов ...
HTML_QuickForm_element::accept()
Вернуться к: Base classes
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
Note
This function can not be called statically.
Вернуться к: Base classes