Posted By

jdstraughan on 06/30/10


Tagged

php view render layout Framework ZF zend renderer preDispatch


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

postNuKe
asifjavedall
ptiswitz


Disable view and layout in Zend Framework


 / Published in: PHP
 

Use this to disable view and layout in Zend Framework controller action

  1. $this->_helper->layout()->disableLayout();
  2. $this->_helper->viewRenderer->setNoRender(true);

Report this snippet  

You need to login to post a comment.