]> dev.renevier.net Git - syj.git/blobdiff - application/controllers/helpers/SyjReset.php
raw mode to display map
[syj.git] / application / controllers / helpers / SyjReset.php
diff --git a/application/controllers/helpers/SyjReset.php b/application/controllers/helpers/SyjReset.php
new file mode 100644 (file)
index 0000000..15a138e
--- /dev/null
@@ -0,0 +1,15 @@
+<?php
+/*  This file is part of Syj, Copyright (c) 2010 Arnaud Renevier,
+    and is published under the AGPL license. */
+
+class Syj_Controller_Action_Helper_SyjReset extends Zend_Controller_Action_Helper_Abstract
+{
+    public function resetPlaceHolders() {
+        $controller = $this->getActionController();
+        $controller->view->jslocales = null;
+        $controller->view->headScript()->exchangeArray(array());
+        $controller->view->headLink()->exchangeArray(array());
+        $controller->view->headTitle()->exchangeArray(array());
+        $controller->view->headStyle()->exchangeArray(array());
+    }
+}