예제 #1
0
 public function projectsAction()
 {
     if (!isset($this->admin_session->user)) {
         header("Location: /");
     }
     $project_model = new ProjectModel();
     $this->view->projects = $project_model->getAll();
 }