function _Semester::reset_list_counters

4.x _Semester.php _Semester::reset_list_counters()
5.x _Semester.php _Semester::reset_list_counters()

File

classes/_Semester.php, line 91

Class

_Semester
The name "Semester" might be a little misleading, as it usually refers to years and the like. But, it might also refer to Summer semesters. Basically, its a collection of courses and groups that are required of a student. For example, the…

Code

function reset_list_counters() 
 {
  // Goes through all lists in the semester and
  // calls function "reset_counter" on them.
  // Important to do before we start trying to use and
  // work with the semesters.
  $this->list_courses->reset_counter();
  $this->list_groups->reset_list_counters();
}