The homepage of Chris Tate-Davies
Posts tagged Zend
Accessing the Zend_Application from a page
Jul 27th
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');
}