_Group::get_hours_remaining

5.x _Group.php _Group::get_hours_remaining($semester_num = -1)
4.x _Group.php _Group::get_hours_remaining($semester_num = -1)

File

classes/_Group.php, line 108

Class

_Group

Code

function get_hours_remaining($semester_num = -1) {
  // returns hor many hours are left for this group.

  return ($this->hours_required - $this->get_fulfilled_hours(true, true, false, $semester_num));
}