function _CourseList::assign_semester_num

4.x _CourseList.php _CourseList::assign_semester_num($semester_num)
5.x _CourseList.php _CourseList::assign_semester_num($semester_num)

Assign a semesterNum to every course in the list.

Parameters

int $semester_num:

File

classes/_CourseList.php, line 2392

Class

_CourseList

Code

function assign_semester_num($semester_num) 
 {
  for ($t = 0; $t < $this->count; $t++) 
   {
    $course = $this->array_list [$t];
    $course->assigned_to_semester_num = $semester_num;
  }
}