How to get resource in controller action?
- by Ponomarev Dmitry
How to get resource in controller action?
class IndexController extends Zend_Controller_Action
{
public function init()
{
/* Initialize action controller here */
}
public function indexAction()
{
// I want db resource here
}
}