Neil的備忘錄

          just do it
          posts - 66, comments - 8, trackbacks - 0, articles - 0
          Just a quick tip: I’m working on a project using Zend Framework and needed to switch off layout and view renderer for a specific controller. This can be achieved by adding the following calls to the controller’s preDispatch() method:
          public function preDispatch()
          {
              
          $this->_helper->layout()->disableLayout();
              
          $this->_helper->viewRenderer-   >setNoRender(true);
          }


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 阿图什市| 曲沃县| 玉环县| 隆德县| 永靖县| 长乐市| 平罗县| 太康县| 曲周县| 虞城县| 确山县| 阳朔县| 瑞安市| 延川县| 景德镇市| 田东县| 西盟| 阳谷县| 大埔县| 奉节县| 甘肃省| 沙河市| 油尖旺区| 碌曲县| 桃园市| 儋州市| 响水县| 塔河县| 哈密市| 浦城县| 鲁甸县| 泉州市| 灵武市| 株洲市| 中阳县| 封开县| 吉木萨尔县| 静宁县| 海宁市| 得荣县| 乳源|