0 votes
in Zend Framework by
How to disable layout in Zend Framework?

1 Answer

0 votes
by

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);  

...