function _FlightPath::assign_courses_to_semesters

4.x _FlightPath.php _FlightPath::assign_courses_to_semesters()
5.x _FlightPath.php _FlightPath::assign_courses_to_semesters()

File

classes/_FlightPath.php, line 1069

Class

_FlightPath

Code

function assign_courses_to_semesters() 
 {
  // This method will look at the student's courses
  // and decide if they should be assigned to degree requirements
  // which have been spelled out in each semester.  This
  // is not where it looks into groups.

  $this->degree_plan->list_semesters->reset_counter();
  while ($this->degree_plan->list_semesters->has_more()) 
   {
    $semester = $this->degree_plan->list_semesters->get_next();

    // Okay, let's look at the courses (not groups) in this
    // semester...
    $this->assign_courses_to_list($semester->list_courses, $this->student);

  }


}