public function defaultAction()
 {
     $newExercise = Exercise::getNotAnsweredExercise($_SESSION['user']->getEmail(), $this->lesson->getId());
     if (!isset($newExercise)) {
         die(I18n::t('exercise.err.allanswered'));
     }
     $_SESSION['currentExercise'] = $newExercise;
     $this->getView()->setQuestion($_SESSION['currentExercise']->getQuestion());
     parent::defaultAction();
 }
 public function defaultAction()
 {
     parent::defaultAction();
 }
 public function addLesson()
 {
     $this->getView()->addNewLessonInput();
     parent::defaultAction();
 }
 public function addCourse()
 {
     $this->getView()->addNewCourseInput();
     parent::defaultAction();
 }
 public function defaultAction()
 {
     //$this->getView()->addAddButton();
     parent::defaultAction();
 }