Return to Snippet

Revision: 30342
at August 12, 2010 13:54 by jiewmeng


Initial Code
$bootstrap = Zend_Controller_Front::getInstance()->getParam('bootstrap');
$resource = $bootstrap->getResource('whatEver')

Initial URL

                                

Initial Description
referenced: [stack overflow](http://stackoverflow.com/questions/3325481/zend-framework-get-bootstrap-resource-from-anywhere-in-application/3328384#3328384)

Initial Title
Zend Framework: Get bootstrap resource from anywhere in application

Initial Tags

                                

Initial Language
PHP