-- Razorblade wrote
(on Wednesday, 13 May 2009, 04:16 AM -0700):
> 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
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(); )
-- Sergio Rinaudo wrote
(on Thursday, 07 May 2009, 04:39 PM +0200):
> I reply to myself,
> I use to create a registry resource
>
>
>
> protected function _initRegistry(){
> $registry = Zend_Registry::getInstance();
> $config = new Zend_Config($this->getOptions());
> $re
I reply to myself,
I use to create a registry resource
protected function _initRegistry(){
$registry = Zend_Registry::getInstance();
$config = new Zend_Config($this->getOptions());
$registry->config = $config;
return $registry;
}
then call
$registry =