コード例 #1
0
ファイル: controller.php プロジェクト: almaopen/SwissMVC
 /**
  * Starts the new action
  */
 public function Controller()
 {
     // Restore the session (or create a new one if this is the first time)
     $this->session = Session::restoreSession();
 }
コード例 #2
0
ファイル: view.php プロジェクト: almaopen/SwissMVC
 public function View($viewPath, $channel = null)
 {
     $this->path = $viewPath;
     $this->channel = $channel;
     $this->session = Session::restoreSession();
 }