/** * Methode retourne la note d'un exam d'un eleve, dans un module donnée * @param int $moduleId * @return int (-1 si pas évalué pour cette assignment) */ public function getNoteStudentExam($moduleId) { $noteStdExam; if ($this->isStudent()) { $studentId = $this->getId(); $noteStdExam = UserDAL::noteExam($studentId, $moduleId); return $noteStdExam; } }