_Semester::__construct

5.x _Semester.php _Semester::__construct($semester_num = "")
4.x _Semester.php _Semester::__construct($semester_num = "")

File

classes/_Semester.php, line 27

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 __construct($semester_num = "") {
  $this->semester_num = $semester_num;

  $this->bool_using_default_title = FALSE;

  //$this->list_courses = new ObjList();
  $this->list_courses = new CourseList();
  $this->list_groups = new GroupList();

  $this->assign_title();
}