php - How to change layout for a single action? -


i have action , don't want use usual layout it. can indicate in action want use different layout default one? how can it?

check out zend documentation layouts.

change layout:

$this->_helper->layout->setlayout('foobaz'); 

disable layout:

$this->_helper->layout->disablelayout(); 

Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

java - where to store the user credentials in an enterprise application(EAI)? -

openxml - Programmatically format a date in an excel sheet using Office Open Xml SDK -