Well, I didn't quite know what's the "official" way to access the application
config, and decided to separate my config values -- all under "options"
application.ini key, and the "Zend stuff" (app resources).

So, to obtain a resource reference I use:

Zend_Registry::get('bootstrap')->resourcename

And to get an application config value:

Zend_Registry::get('config')->subsystem->foo->bar

Anyway, to make my code work again, should I just go for
$this->getOptions()? But, I guess, it will include the resources' params as
well, right?



Matthew Weier O'Phinney-3 wrote:
> 
> 
> Just out of curiousity, why aren't you just using:
> 
>     new Zend_Config($this->getOptions())
> 
> -- 
> Matthew Weier O'Phinney
> Project Lead            | [email protected]
> Zend Framework          | http://framework.zend.com/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/getOption%28%27options%27%29-in-Bootstrap-stopped-working-in-1.9.2-tp25190509p25194390.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to