-
60 votesanswersviews
如何在Zend Framework中切换布局文件?
我敢肯定这是一个简单的单行,但我似乎无法找到它 . 如何为特定操作使用不同的布局文件? Update: 这对我有用,谢谢! // Within controller $this->_helper->_layout->setLayout('other-layout') //other-layout.phtml //Within view script <?php $this...