11<?php
2- /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
2+ /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
33
4- /**
5- * HTML class for a text field
6- *
7- * PHP versions 4 and 5
8- *
9- * LICENSE: This source file is subject to version 3.01 of the PHP license
10- * that is available through the world-wide-web at the following URI:
11- * http://www.php.net/license/3_01.txt If you did not receive a copy of
12- * the PHP License and are unable to obtain it through the web, please
13- * send a note to license@php.net so we can mail you a copy immediately.
14- *
15- * @category HTML
16- * @package HTML_QuickForm
17- * @author Adam Daniel <adaniel1@eesus.jnj.com>
18- * @author Bertrand Mansion <bmansion@mamasam.com>
19- * @copyright 2001-2009 The PHP Group
20- * @license http://www.php.net/license/3_01.txt PHP License 3.01
21- * @version CVS: $Id: text.php,v 1.7 2009/04/04 21:34:04 avb Exp $
22- * @link http://pear.php.net/package/HTML_QuickForm
23- */
24-
25- /**
26- * Base class for <input /> form elements
27- */
28- require_once 'HTML/QuickForm/input.php ' ;
4+ /**
5+ * HTML class for a text field
6+ *
7+ * PHP versions 4 and 5
8+ *
9+ * LICENSE: This source file is subject to version 3.01 of the PHP license
10+ * that is available through the world-wide-web at the following URI:
11+ * http://www.php.net/license/3_01.txt If you did not receive a copy of
12+ * the PHP License and are unable to obtain it through the web, please
13+ * send a note to license@php.net so we can mail you a copy immediately.
14+ *
15+ * @category HTML
16+ * @package HTML_QuickForm
17+ * @author Adam Daniel <adaniel1@eesus.jnj.com>
18+ * @author Bertrand Mansion <bmansion@mamasam.com>
19+ * @copyright 2001-2009 The PHP Group
20+ * @license http://www.php.net/license/3_01.txt PHP License 3.01
21+ * @version CVS: $Id: text.php,v 1.7 2009/04/04 21:34:04 avb Exp $
22+ * @link http://pear.php.net/package/HTML_QuickForm
23+ */
24+
25+ /**
26+ * Base class for <input /> form elements
27+ */
28+ require_once 'HTML/QuickForm/input.php ' ;
2929
3030/**
3131 * HTML class for a text field
3232 *
33- * @category HTML
34- * @package HTML_QuickForm
35- * @author Adam Daniel <adaniel1@eesus.jnj.com>
36- * @author Bertrand Mansion <bmansion@mamasam.com>
37- * @version Release: 3.2.11
38- * @since 1.0
33+ * @category HTML
34+ * @package HTML_QuickForm
35+ * @author Adam Daniel <adaniel1@eesus.jnj.com>
36+ * @author Bertrand Mansion <bmansion@mamasam.com>
37+ * @version Release: 3.2.11
38+ * @since 1.0
3939 */
4040class HTML_QuickForm_text extends HTML_QuickForm_input
4141{
42-
43- // {{{ constructor
44-
4542 /**
4643 * Class constructor
4744 *
@@ -58,10 +55,7 @@ function HTML_QuickForm_text($elementName=null, $elementLabel=null, $attributes=
5855 HTML_QuickForm_input::HTML_QuickForm_input ($ elementName , $ elementLabel , $ attributes );
5956 $ this ->_persistantFreeze = true ;
6057 $ this ->setType ('text ' );
61- } //end constructor
62-
63- // }}}
64- // {{{ setSize()
58+ }
6559
6660 /**
6761 * Sets size of text field
@@ -74,10 +68,7 @@ function HTML_QuickForm_text($elementName=null, $elementLabel=null, $attributes=
7468 function setSize ($ size )
7569 {
7670 $ this ->updateAttributes (array ('size ' =>$ size ));
77- } //end func setSize
78-
79- // }}}
80- // {{{ setMaxlength()
71+ }
8172
8273 /**
8374 * Sets maxlength of text field
@@ -91,8 +82,4 @@ function setMaxlength($maxlength)
9182 {
9283 $ this ->updateAttributes (array ('maxlength ' =>$ maxlength ));
9384 } //end func setMaxlength
94-
95- // }}}
96-
97- } //end class HTML_QuickForm_text
98- ?>
85+ }
0 commit comments