How to get resource in controller action?
Posted
by Ponomarev Dmitry
on Stack Overflow
See other posts from Stack Overflow
or by Ponomarev Dmitry
Published on 2010-05-28T14:09:56Z
Indexed on
2010/05/28
14:11 UTC
Read the original article
Hit count: 258
zend-framework
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
}
}
© Stack Overflow or respective owner