Hi, 
I have another question related to the registry.
If this

$registry = Zend_Registry::getInstance(); 

and this

  $registry =
Zend_Controller_Front::getInstance()->getParam('bootstrap')->getContainer(); 
( or from a controller $registry =
$this->getInvokeArg('bootstrap')->getContainer();  )

are different objects, 

which one use in our application?
Is there any occurrence where I would to use the one or the other?

If I set a variable into the static registry, will it be available in the
non-static one and viceversa??

Thank you
-- 
View this message in context: 
http://www.nabble.com/FW%3A-ZF1.8-Right-way-to-get-zend-registry-instance-tp23428309p23519827.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to