-- iceangel89 <[email protected]> wrote (on Wednesday, 06 May 2009, 01:04 AM -0700): > how do i get view from the bootstrap file/class? > > $view = Zend_Layout::startMvc()->getView();
You're likely looking for Zend_Layout::getMvcInstance(), not startMvc(). The question I have for you is: where are you trying to get the view? Within another bootstrap resource (method or plugin)? Within a front controller plugin? within your action controller? The answer to that question will dictate how you access the view object. -- Matthew Weier O'Phinney Project Lead | [email protected] Zend Framework | http://framework.zend.com/
