If, like me, you need to access some Zend_Application resources (such as multidb resources) – then you need a reference to the Zend_Application and the bootstrap. I use this:

if (null == $this->_application) 
{
    $this->_application = Zend_Controller_Front::getInstance()
         ->getParam('bootstrap');
}

By admin

One thought on “Accessing the Zend_Application from a page”
  1. Have you ever thought about including extra movies to your weblog posts to keep the readers more entertained? I imply I just read through the entire article of yours and it was fairly good but since I am more of a visual learner,I found that to be more helpful. well, let me know how it turns out!

Leave a Reply to Audrina Patridge Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.