Posted By

jiewmeng on 08/12/10


Tagged

zend-framework


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

Roen
foltrabix
piotrlewandowski


Zend Framework: Get bootstrap resource from anywhere in application


 / Published in: PHP
 

referenced: stack overflow

  1. $bootstrap = Zend_Controller_Front::getInstance()->getParam('bootstrap');
  2. $resource = $bootstrap->getResource('whatEver')

Report this snippet  

You need to login to post a comment.