public function score() { $exam = new examinationModel(); //Tools::dump($exam->getScore()); $this->smarty->assign("score", $exam->getScore()); $this->smarty->assign("showScore", true); $this->smarty->display("home/member.html"); }