Re: HTML/Form.php patch

From: Date: Mon, 26 Nov 2001 17:30:42 +0000
Subject: Re: HTML/Form.php patch
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-3117@lists.php.net to get a copy of this message
On Mon, 26 Nov 2001 11:38:01 -0500, Dietrich Ayala wrote: >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 Doesn't this break backwards compatibility? - Martin -- Martin Jansen, <mail@martin-jansen.de> http://www.martin-jansen.de/

« previous php.pear.dev (#3117) next »