| // +----------------------------------------------------------------------+ // // $Id: header.php,v 1.1 2006/09/24 17:04:54 jamiesensei Exp $ require_once 'HTML/QuickForm/static.php'; /** * A pseudo-element used for adding headers to form * * @author Alexey Borzov * @access public */ class HTML_QuickForm_header extends HTML_QuickForm_static { // {{{ constructor /** * Class constructor * * @param string $elementName Header name * @param string $text Header text * @access public * @return void */ function HTML_QuickForm_header($elementName = null, $text = null) { $this->HTML_QuickForm_static($elementName, null, $text); $this->_type = 'header'; } // }}} // {{{ accept() /** * Accepts a renderer * * @param object An HTML_QuickForm_Renderer object * @access public * @return void */ function accept(&$renderer) { $renderer->renderHeader($this); } // end func accept // }}} } //end class HTML_QuickForm_header ?>