Doc =& $Doc; } function _renderForm(&$page) { require_once 'HTML/QuickForm/Renderer/Array.php'; require_once 'class/Form/Form.class.php'; $renderer =& new HTML_QuickForm_Renderer_Array(true, true); $page->_elements = Form::setCSS2Elems($page->_elements); $page->accept($renderer); $item = $renderer->toArray(); $item['tpl'] = $page->tpl; $item['title'] = $page->formName; $item = array_merge($page->item, $item); $this->Doc->addContent($item); } } ?>