Rob Allen-3 wrote:
>
>
> You can create an _initConfig() method in your Bootstrap class that
> looks like this:
>
> protected function _initConfig()
> {
> $config = new Zend_Config($this->getOptions());
> Zend_Registry::set('config', $config);
> }
>
>
> Regards
> Rob...
>
That's even better. Thank you Matthew and Rob.
--
View this message in context:
http://www.nabble.com/How-to-get-Config-options--tp23817687p23836677.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
