$frontController = Zend_Controller_Front::getInstance();
$bootstrap = $frontController->getParam('bootstrap');On Tue, Mar 23, 2010 at 1:06 PM, Sergio Rinaudo <[email protected]>wrote: > Hi, > I'm actually trying to understand how to get multidb resource from > application.ini. > I have this page of the documentation opened > > > http://framework.zend.com/manual/en/zend.application.available-resources.html#zend.application.available-resources.multidb > > and this line of code to retrieve the multidb resource > > $resource = $bootstrap->getPluginResource('multidb'); > > the question is, how to get the $bootstrap object? > Can this object be generated everywhere in the code? > > I hope in your kind and explicative answer :) > > Thank you very much. > > > > Sergio Rinaudo > > > > ------------------------------ > Vuoi scaricare gli allegati? Guardali in anteprima, su > Hotmail!<http://www.windowslive.it/hotmail/GuardaAscolta.aspx> >
