From d011ec4bdd2a55791e50d7be048de08076e6ba7d Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Wed, 21 May 2014 12:06:20 +0200 Subject: [PATCH] Minor format code. --- main/inc/lib/pear/HTML/QuickForm/text.php | 83 ++++++++++------------- 1 file changed, 35 insertions(+), 48 deletions(-) diff --git a/main/inc/lib/pear/HTML/QuickForm/text.php b/main/inc/lib/pear/HTML/QuickForm/text.php index fe46e64882..8a45cd552a 100755 --- a/main/inc/lib/pear/HTML/QuickForm/text.php +++ b/main/inc/lib/pear/HTML/QuickForm/text.php @@ -1,47 +1,44 @@ - * @author Bertrand Mansion - * @copyright 2001-2009 The PHP Group - * @license http://www.php.net/license/3_01.txt PHP License 3.01 - * @version CVS: $Id: text.php,v 1.7 2009/04/04 21:34:04 avb Exp $ - * @link http://pear.php.net/package/HTML_QuickForm - */ - -/** - * Base class for form elements - */ -require_once 'HTML/QuickForm/input.php'; +/** + * HTML class for a text field + * + * PHP versions 4 and 5 + * + * LICENSE: This source file is subject to version 3.01 of the PHP license + * that is available through the world-wide-web at the following URI: + * http://www.php.net/license/3_01.txt If you did not receive a copy of + * the PHP License and are unable to obtain it through the web, please + * send a note to license@php.net so we can mail you a copy immediately. + * + * @category HTML + * @package HTML_QuickForm + * @author Adam Daniel + * @author Bertrand Mansion + * @copyright 2001-2009 The PHP Group + * @license http://www.php.net/license/3_01.txt PHP License 3.01 + * @version CVS: $Id: text.php,v 1.7 2009/04/04 21:34:04 avb Exp $ + * @link http://pear.php.net/package/HTML_QuickForm + */ + +/** + * Base class for form elements + */ +require_once 'HTML/QuickForm/input.php'; /** * HTML class for a text field * - * @category HTML - * @package HTML_QuickForm - * @author Adam Daniel - * @author Bertrand Mansion - * @version Release: 3.2.11 - * @since 1.0 + * @category HTML + * @package HTML_QuickForm + * @author Adam Daniel + * @author Bertrand Mansion + * @version Release: 3.2.11 + * @since 1.0 */ class HTML_QuickForm_text extends HTML_QuickForm_input { - - // {{{ constructor - /** * Class constructor * @@ -58,10 +55,7 @@ class HTML_QuickForm_text extends HTML_QuickForm_input HTML_QuickForm_input::HTML_QuickForm_input($elementName, $elementLabel, $attributes); $this->_persistantFreeze = true; $this->setType('text'); - } //end constructor - - // }}} - // {{{ setSize() + } /** * Sets size of text field @@ -74,10 +68,7 @@ class HTML_QuickForm_text extends HTML_QuickForm_input function setSize($size) { $this->updateAttributes(array('size'=>$size)); - } //end func setSize - - // }}} - // {{{ setMaxlength() + } /** * Sets maxlength of text field @@ -91,8 +82,4 @@ class HTML_QuickForm_text extends HTML_QuickForm_input { $this->updateAttributes(array('maxlength'=>$maxlength)); } //end func setMaxlength - - // }}} - -} //end class HTML_QuickForm_text -?> +}