Re: QuickForm->process() returns no value?

From: Date: Wed, 16 Mar 2005 16:35:42 +0000
Subject: Re: QuickForm->process() returns no value?
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-36703@lists.php.net to get a copy of this message
On Tue, 15 Mar 2005 22:01:46 +0100, Esad Hajdarevic <esad-public@25novembar.com> wrote: > Hi everyone, > > Shouldn't > > void HTML_QuickForm::process (mixed $callback [, bool $mergeFiles = TRUE]) > > actually return the value returned by the callback function? > > One example when this may be handy: > > if ($form->process(array(&$fb,'processForm'), false)) { > //data processed (FormBuilder's processForm returns true when > //data > has been manipulated) > } > Well, I obviously haven't started on that FormBuilder feature request yet...I didn't realize the QF process method didn't return a value. -- Justin Patrin

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