HTML_QuickForm
[ class tree: HTML_QuickForm ] [ index: HTML_QuickForm ] [ all elements ]

Source for file html.php

Documentation is available at html.php

  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. // | license@php.net so we can mail you a copy immediately.               |
  15. // +----------------------------------------------------------------------+
  16. // | Author: Alexey Borzov <borz_off@cs.msu.su>                           |
  17. // +----------------------------------------------------------------------+
  18. //
  19. // $Id: html.php,v 1.1 2003/03/12 11:16:33 avb Exp $
  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 <borz_off@cs.msu.su>
  30.  * @access public
  31.  */
  32. {
  33.     // {{{ constructor
  34.  
  35.    /**
  36.     * Class constructor
  37.     * 
  38.     * @param string $text   raw HTML to add
  39.     * @access public
  40.     * @return void 
  41.     */
  42.     function HTML_QuickForm_html($text = null)
  43.     {
  44.         $this->HTML_QuickForm_static(nullnull$text);
  45.         $this->_type 'html';
  46.     }
  47.  
  48.     // }}}
  49.     // {{{ accept()
  50.  
  51.    /**
  52.     * Accepts a renderer
  53.     *
  54.     * @param object     An HTML_QuickForm_Renderer object
  55.     * @access public
  56.     * @return void 
  57.     */
  58.     function accept(&$renderer)
  59.     {
  60.         $renderer->renderHtml($this);
  61.     // end func accept
  62.  
  63.     // }}}
  64.  
  65. //end class HTML_QuickForm_header
  66. ?>

Documentation generated on Mon, 11 Mar 2019 14:16:33 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.