Return to Snippet

Revision: 29205
at July 23, 2010 20:07 by jiewmeng


Initial Code
// SomeController.php
// within someAction()
$noLayout = $this->getRequest()->getParam("noLayout");
if ($noLayout) {
  $this->_helper->layout->disableLayout();
}

Initial URL


Initial Description


Initial Title
Zend Framework: Disable Layout

Initial Tags


Initial Language
PHP