]> dev.renevier.net Git - syj.git/blob - application/controllers/helpers/SyjReset.php
862b3a6819e219bd82d5e2556e2cb18455d9498e
[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         $controller->view->jslocales = null;
10         $controller->view->headScript()->exchangeArray(array());
11         $controller->view->headLink()->exchangeArray(array());
12         $controller->view->headTitle()->exchangeArray(array());
13         $controller->view->headStyle()->exchangeArray(array());
14     }
15 }