cvs: pear /HTML_QuickForm/QuickForm text.php
| From: | Bertrand Mansion | Date: | Tue, 18 Jun 2002 09:42:22 +0000 |
| Subject: | cvs: pear /HTML_QuickForm/QuickForm text.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-4673@lists.php.net to get a copy of this message | ||
mansion Tue Jun 18 05:42:22 2002 EDT
Modified files:
/pear/HTML_QuickForm/QuickForm text.php
Log:
Comments fixes.
Index: pear/HTML_QuickForm/QuickForm/text.php
diff -u pear/HTML_QuickForm/QuickForm/text.php:1.3 pear/HTML_QuickForm/QuickForm/text.php:1.4
--- pear/HTML_QuickForm/QuickForm/text.php:1.3 Tue Apr 16 04:51:15 2002
+++ pear/HTML_QuickForm/QuickForm/text.php Tue Jun 18 05:42:22 2002
@@ -17,7 +17,7 @@
// | Bertrand Mansion <bmansion@mamasam.com> |
// +----------------------------------------------------------------------+
//
-// $Id: text.php,v 1.3 2002/04/16 08:51:15 mansion Exp $
+// $Id: text.php,v 1.4 2002/06/18 09:42:22 mansion Exp $
require_once("HTML/QuickForm/input.php");
@@ -38,7 +38,7 @@
* Class constructor
*
* @param string $elementName (optional)Input field name attribute
- * @param string $value (optional)Input field value
+ * @param string $elementLabel (optional)Input field label
* @param mixed $attributes (optional)Either a typical HTML attribute string
* or an associative array
* @since 1.0
@@ -65,9 +65,9 @@
* @return void
* @throws
*/
- function setSize($size="")
+ function setSize($size='')
{
- $this->updateAttributes(array("size"=>$size));
+ $this->updateAttributes(array('size'=>$size));
} //end func setSize
// }}}
@@ -82,12 +82,12 @@
* @return void
* @throws
*/
- function setMaxlength($maxlength="")
+ function setMaxlength($maxlength='')
{
- $this->updateAttributes(array("maxlength"=>$maxlength));
+ $this->updateAttributes(array('maxlength'=>$maxlength));
} //end func setMaxlength
// }}}
} //end class HTML_QuickForm_text
-?>
+?>
\ No newline at end of file