| // +----------------------------------------------------------------------+ // // $Id: html.php,v 1.1 2006/09/24 17:04:55 jamiesensei Exp $ require_once 'HTML/QuickForm/static.php'; /** * A pseudo-element used for adding raw HTML to form * * Intended for use with the default renderer only, template-based * ones may (and probably will) completely ignore this * * @author Alexey Borzov * @access public */ class HTML_QuickForm_html extends HTML_QuickForm_static { // {{{ constructor /** * Class constructor * * @param string $text raw HTML to add * @access public * @return void */ function HTML_QuickForm_html($text = null) { $this->HTML_QuickForm_static(null, null, $text); $this->_type = 'html'; } // }}} // {{{ accept() /** * Accepts a renderer * * @param object An HTML_QuickForm_Renderer object * @access public * @return void */ function accept(&$renderer) { $renderer->renderHtml($this); } // end func accept // }}} } //end class HTML_QuickForm_header ?>