Google News
logo
Zend framework - Interview Questions
How to disable layout in Zend Framework?
In Zend Framework, We need to disable layout when we make an AJAX request to fetch data with the help of the following code.
$this->_helper->layout()->disableLayout();  
$this->_helper->viewRenderer->setNoRender(true);  
Advertisement