Re: QFC - passing values between pages
| From: | Alexey Borzov | Date: | Tue, 14 Oct 2003 14:29:23 +0000 |
| Subject: | Re: QFC - passing values between pages | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-8430@lists.php.net to get a copy of this message | ||
Hi!
Mike Carter wrote:
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?Like this: $data =& $controller->container(); // note the reference $data['_mikes_stuff'] = 'some stuff';
Is it not just a case of hacking $_SESSION['_registration_container']...Well, basically the answer is yes. :] But this stuff is public for a reason, so do not expect any breaks in the future.