Re: Quickform_Controller run()

From: Date: Sat, 20 Nov 2004 06:51:04 +0000
Subject: Re: Quickform_Controller run()
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-15718@lists.php.net to get a copy of this message
On Sat, 20 Nov 2004 01:09:36 -0500 (EST), Joe Prosser <pear@joeprosser.com> wrote: > Hi Folks, > Is the run() method only supposed to run once for the entire session? > Mine seems to be called everytime I go to another page, which doesn't make > sense. > You would think that all the addPage and addAction calls would set up the > statemachine network, and then run would just bounce around through it. > > Any one have any ideas? > Every time you make a new request to the page...say for another part of the form...it's going to re-run the script. If run() is in that script (I assume it is) then it will happen every time. -- Justin Patrin

« previous php.pear.general (#15718) next »