Hic hic,
I have a problem with function init() in my IndexAction class:
PHP Code:
class IndexController extends Zend_Cotroller_Action
{
function init()
{
$response = $this->getResponse();
$response -> insert('footer', $this->view->render('footer.phtml'));
}
function indexAction()
{
// my code
}
function showCatAction()
{
// my code
}
}
I want disable init() function when call showCatAction(), how do it? please help me!
__________________
Nắng sớm nhớ cha nợ cha một sự nghiệp
Chiều ta thương mẹ nợ mẹ một nàng dâu
----------------------------
Diễn đàn Nghệ An - Hà Tĩnh:
http://nghe-online.org/forum