class IndexController extends Zend_Controller_Action
{
public function init()
{
// For all actions
Zend_Layout::getMvcInstance()->disableLayout();
}
public function myAction()
{
// For specific action
Zend_Layout::getMvcInstance()->setLayout('my');
}
// ...
}