http://framework.zend.com/manual/en/zend.registry.html

> -----Original Message-----
> From: sinkingfish [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, December 11, 2008 6:24 PM
> To: [email protected]
> Subject: [fw-general] Passing an object between actions.
> 
> 
> Hi,
> 
> I am looking to pass an object (zend_form to be exact) 
> between 2 actions and
> am wondering is there a best practice or even a facility in 
> zend framework? 
> 
> I'm considering 3 ways :
> 1. make the object a class variable and access using $this
> 2. Serialize the the object and pass it as an a parameter in 
> the _forward()
> method.
> 3. make it a global variable.
> 
> Just wondering did anybody have any thoughts on this.
> 
> Brian
> -- 
> View this message in context: 
> http://www.nabble.com/Passing-an-object-between-actions.-tp209
> 60215p20960215.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
> 
> 

Reply via email to