[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
1 <?php 2 /* vim: set expandtab tabstop=4 shiftwidth=4: */ 3 // +----------------------------------------------------------------------+ 4 // | PHP version 4.0 | 5 // +----------------------------------------------------------------------+ 6 // | Copyright (c) 1997-2003 The PHP Group | 7 // +----------------------------------------------------------------------+ 8 // | This source file is subject to version 2.0 of the PHP license, | 9 // | that is bundled with this package in the file LICENSE, and is | 10 // | available at through the world-wide-web at | 11 // | http://www.php.net/license/2_02.txt. | 12 // | If you did not receive a copy of the PHP license and are unable to | 13 // | obtain it through the world-wide-web, please send a note to | 14 // | [email protected] so we can mail you a copy immediately. | 15 // +----------------------------------------------------------------------+ 16 // | Author: Alexey Borzov <[email protected]> | 17 // +----------------------------------------------------------------------+ 18 // 19 // $Id$ 20 21 require_once 'HTML/QuickForm/static.php'; 22 23 /** 24 * A pseudo-element used for adding raw HTML to form 25 * 26 * Intended for use with the default renderer only, template-based 27 * ones may (and probably will) completely ignore this 28 * 29 * @author Alexey Borzov <[email protected]> 30 * @access public 31 */ 32 class HTML_QuickForm_html extends HTML_QuickForm_static 33 { 34 // {{{ constructor 35 36 /** 37 * Class constructor 38 * 39 * @param string $text raw HTML to add 40 * @access public 41 * @return void 42 */ 43 function HTML_QuickForm_html($text = null) 44 { 45 $this->HTML_QuickForm_static(null, null, $text); 46 $this->_type = 'html'; 47 } 48 49 // }}} 50 // {{{ accept() 51 52 /** 53 * Accepts a renderer 54 * 55 * @param object An HTML_QuickForm_Renderer object 56 * @access public 57 * @return void 58 */ 59 function accept(&$renderer, $required=false, $error=null) 60 { 61 $renderer->renderHtml($this); 62 } // end func accept 63 64 // }}} 65 66 } //end class HTML_QuickForm_header 67 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |