cvs: pear /HTML_QuickForm/QuickForm static.php

From: Date: Mon, 21 Apr 2003 05:49:21 +0000
Subject: cvs: pear /HTML_QuickForm/QuickForm static.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-10000@lists.php.net to get a copy of this message
avb Mon Apr 21 01:49:21 2003 EDT Modified files: /pear/HTML_QuickForm/QuickForm static.php Log: setValue() method by Jon Wood Index: pear/HTML_QuickForm/QuickForm/static.php diff -u pear/HTML_QuickForm/QuickForm/static.php:1.2 pear/HTML_QuickForm/QuickForm/static.php:1.3 --- pear/HTML_QuickForm/QuickForm/static.php:1.2 Wed Mar 12 06:13:07 2003 +++ pear/HTML_QuickForm/QuickForm/static.php Mon Apr 21 01:49:20 2003 @@ -17,7 +17,7 @@ // | Bertrand Mansion <bmansion@mamasam.com> | // +----------------------------------------------------------------------+ // -// $Id: static.php,v 1.2 2003/03/12 11:13:07 avb Exp $ +// $Id: static.php,v 1.3 2003/04/21 05:49:20 avb Exp $ require_once("HTML/QuickForm/element.php"); @@ -102,6 +102,21 @@ } // end func setText // }}} + // {{{ setValue() + + /** + * Sets the text (uses the standard setValue call to emulate a form element. + * + * @param string $text + * @access public + * @return void + */ + function setValue($text) + { + $this->setText($text); + } // end func setValue + + // }}} // {{{ toHtml() /**

« previous php.pear.cvs (#10000) next »