Ejemplo n.º 1
0
 /**
  * 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();
 }
Ejemplo n.º 2
0
 public function View($viewPath, $channel = null)
 {
     $this->path = $viewPath;
     $this->channel = $channel;
     $this->session = Session::restoreSession();
 }