2009年9月24日星期四

Re: [fw-mvc] how to get configurations in bootstrap.php



On Thu, Sep 24, 2009 at 11:12 AM, Duo Zheng <duozheng@gmail.com> wrote:
huajun qi,
Could you be more specific on what you want? Where is $this->_options located at? Action Controller?



On Sep 24, 2009, at 4:40 AM, huajun qi wrote:

I have made it using '$this->_options', but i wonder whether this is a good way?



I suppose he means $this->_options inside his Bootstrap class which extends Zend_Application_Bootstrap_Bootstrap, and I can't conceive of a reason not to access one's config in this way. Why not?

My $.02


--
David Mintz
http://davidmintz.org/

The subtle source is clear and bright
The tributary streams flow through the darkness

没有评论: