Posted By

jiewmeng on 07/23/10


Tagged

zend-framework


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

osirisinternet


Zend Framework: Disable Layout


 / Published in: PHP
 

  1. // SomeController.php
  2. // within someAction()
  3. $noLayout = $this->getRequest()->getParam("noLayout");
  4. if ($noLayout) {
  5. $this->_helper->layout->disableLayout();
  6. }

Report this snippet  

You need to login to post a comment.