Disable view and layout in Zend Framework


/ Published in: PHP
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. $this->_helper->layout()->disableLayout();
  2. $this->_helper->viewRenderer->setNoRender(true);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.