Wednesday, 17 October 2012

When do we need to disable layout? | Zend Framework Interview Questions

At the time of calling AJAX to fetch we need to disable layout.
$this->_helper->layout()->disableLayout();
$this->_helper->viewRenderer->setNoRender(true);

No comments: