HTML_QuickForm::defaultRenderer() -- Returns a reference to default renderer object
Описание
Returns a reference to default renderer object. You can use this method to save a few keystrokes:
<?php
$renderer =& $form->defaultRenderer();
?> |
instead of
<?php
require_once 'HTML/QuickForm/Renderer/Default.php';
$renderer =& new HTML_QuickForm_Renderer_Default();
?> |
It is also used internally to implement
toHtml() and some of the deprecated methods.
Возвращаемое значение
return default renderer object
Throws
throws no exceptions thrown
Заметка
since 3.0
Эта функция может быть вызвана статически.
HIVE: All information for read only. Please respect copyright! |
|