In your controller (or controller action), you can get the resource you need by :

$this->getFrontController()->getParam('boostrap')->getResource('HereTheResourceYouNeed')

example : $this->getFrontController()->getParam('boostrap')->getResource('db')

iceangel89 a écrit :
how can i access resources like the default db adapter from my controllers?

Reply via email to