Jonathan Lebensold wrote:
>
> hmmm... good point, I was using that in a unit test and it was fine.
>
> Not sure if this is the best way, but you can grab the options in a
> controller like so:
>
> $this->getInvokeArg('bootstrap')->getOptions()
>
>
Yes indeed, I found it after you gave me the clue )). You can get it from
the bootstrapper:
$config=Zend_Controller_Front::getInstance()
->getParam('bootstrap')
->getOptions();
Thanks again!
Dmitry.
--
View this message in context:
http://www.nabble.com/How-to-get-Config-options--tp23817687p23818331.html
Sent from the Zend Framework mailing list archive at Nabble.com.
- [fw-general] How to get Config options? dmitrybelyakov
- Re: [fw-general] How to get Config options? Jon Lebensold
- Re: [fw-general] How to get Config option... dmitrybelyakov
- Re: [fw-general] How to get Config op... Jon Lebensold
- Re: [fw-general] How to get Confi... dmitrybelyakov
- Re: [fw-general] How to get Config options? Vadim Gabriel
- Re: [fw-general] How to get Config option... dmitrybelyakov
- Re: [fw-general] How to get Config op... Matthew Weier O'Phinney
- Re: [fw-general] How to get Confi... Rob Allen
- Re: [fw-general] How to get ... dmitrybelyakov
