Change/Disable the default layout/Set layout in Zend Framework
I have started working on Zend Framework just before couple of days. Zend Framework is MVC based and easier to work with. The power of any Framework is its core library, Zend Frameword also have a wide range of functions in its core library which makes most of the programming task easier. Now a days, all frameworks provide the layouts options in views. With use of layout, you can seperate out the common view. It may happen that you have more than one layout. By default Zend Framewok calls the layout.phtml file for layout. If you want to change the default layout than you can define it in Controller. Also for Ajax request, if you want to hide/disable the layout than you have to define it in Controller. Below are the syntax.