RE: [PEAR-DEV] HTML/Form.php patch

From: Date: Mon, 26 Nov 2001 16:51:49 +0000
Subject: RE: [PEAR-DEV] HTML/Form.php patch
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-3115@lists.php.net to get a copy of this message
and that would be this patch ;) > -----Original Message----- > From: Dietrich Ayala [mailto:dietrich@ganx4.com] > Sent: Monday, November 26, 2001 11:38 AM > To: pear-dev@lists.php.net > Subject: [PEAR-DEV] HTML/Form.php patch > > > currently form.php prints directly from it's methods while building the form, making it > unusable with most template systems. > > this patch: > > - adds method addToBuffer() which adds output to a class level var $buffer > > - replaces all 'print' calls with $this->addToBuffer() calls > > - renames display() to getHTML() > > - makes display() a method that calls getHTML() and prints it > > thanks, > > dietrich >

Attachment: [application/x-zip-compressed] Form.zip
« previous php.pear.dev (#3115) next »