]> dev.renevier.net Git - syj.git/blob - application/controllers/helpers/SyjReset.php
routes profile
[syj.git] / application / controllers / helpers / SyjReset.php
1 <?php
2 /*  This file is part of Syj, Copyright (c) 2010-2011 Arnaud Renevier,
3     and is published under the AGPL license. */
4
5 class Syj_Controller_Action_Helper_SyjReset extends Zend_Controller_Action_Helper_Abstract
6 {
7     public function resetPlaceHolders() {
8         $controller = $this->getActionController();
9         if (!$controller->view) {
10             return;
11         }
12         $controller->view->jslocales = null;
13         $controller->view->headScript()->exchangeArray(array());
14         $controller->view->headLink()->exchangeArray(array());
15         $controller->view->headTitle()->exchangeArray(array());
16         $controller->view->headStyle()->exchangeArray(array());
17     }
18 }