Sorry, i make a mistake, i forget the "t" in "bootstrap" :
$this->getFrontController()->getParam('boo*t*strap')->getResource('HereTheResourceYouNeed')
Pierrick Boulière a écrit :
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?