function _Semester::equals

4.x _Semester.php _Semester::equals(Semester $semester)
5.x _Semester.php _Semester::equals(Semester $semester)

File

classes/_Semester.php, line 40

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 equals(Semester $semester) 
 {

  if ($this->semester_num == $semester->semester_num) 
   {
    return true;
  }

  return false;
}