コード例 #1
0
ファイル: aTools.php プロジェクト: verenate/gri
 public static function listenToSimulateNewRequestEvent(sfEvent $event)
 {
     self::$global = false;
     self::$globalCache = false;
     self::$currentPage = null;
     self::$savedCurrentPage = null;
     self::$globalButtons = false;
     self::$allowSlotEditing = true;
 }
コード例 #2
0
ファイル: BaseaTools.class.php プロジェクト: hashir/UoA
 /**
  * Must reset ALL static variables to their initial state
  * @param sfEvent $event
  */
 public static function listenToSimulateNewRequestEvent(sfEvent $event)
 {
     aTools::$global = false;
     aTools::$globalCache = false;
     aTools::$currentPage = null;
     aTools::$pageStack = array();
     aTools::$globalButtons = false;
     aTools::$allowSlotEditing = true;
     aTools::$realUrl = null;
     aTools::$jsCalls = array();
     aNavigation::simulateNewRequest();
 }