RE: [PEAR] QFC - passing values between pages
| From: | Mike Carter | Date: | Tue, 14 Oct 2003 14:23:10 +0000 |
| Subject: | RE: [PEAR] QFC - passing values between pages | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8427@lists.php.net to get a copy of this message | ||
Hi,
I wasn't expecting a nice hacky style method :)
Still, I'm not quite sure what good the ->container() method is? It returns
me the contents of the container, but how to I add a new custom entry to it?
Is it not just a case of hacking $_SESSION['_registration_container']...
Etc?
Regards,
Mike C.
> -----Original Message-----
> From: Alexey Borzov [mailto:borz_off@cs.msu.su]
> Sent: 14 October 2003 15:10
> To: mikeatwork@ukonline.co.uk
> Cc: 'PEAR Mail List'
> Subject: Re: [PEAR] QFC - passing values between pages
>
>
> Hi!
>
> Mike Carter wrote:
> > During an action I would like to pass a result variable on
> to the next
> > page in the chain. What method do I use to achieve this?
>
> You'll usually want to store this in container():
> http://pear.php.net/manual/en/package.html.html-quickform-cont
roller.html-quickform-controller.container.php
just make some custom key for this variable.
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________