Thomas List
2010年10月21日星期四
[fw-mvc] Passing Array from One Controller to Another
I've been trying to pass an array from one Controller to another without any luck. I've tried to use the Zend_Registry, but when I try to retrieve the value in the next Controller, I get an error "No entry is registered for key 'resultsAdmin'". So how is this done without resorting to redirects and such? I've tried using Zend_Session_Namespace(), but can't find any answers as to how to retrieve the value from the Namespace() once it is set. There has to be a way to create a globalized variable and access it, but how is it done in Zend?
订阅:
博文评论 (Atom)
没有评论:
发表评论