Ejemplo n.º 1
0
 /**
  * Attempts to find a student by their student ID. Throws an exception if the student
  * cannot be located.
  *
  * @param $studentId The student's ID number.
  * @throws StudentNotFoundException
  */
 private function studentIdSearch($studentId)
 {
     $student = StudentProviderFactory::getProvider()->getStudent($studentId, Term::timeToTerm(time()));
     return $student;
 }