function _Group::reload_missing_courses

4.x _Group.php _Group::reload_missing_courses()
5.x _Group.php _Group::reload_missing_courses()

File

classes/_Group.php, line 422

Class

_Group

Code

function reload_missing_courses() 
 {
  // This function will go through the group and reload
  // any courses which are missing from the group object,
  // but are spelled out in the database table.
  // This is used after we have loaded a group from
  // cache (because the cached group only contains
  // courses which the student has taken).

  $this->load_group(FALSE, FALSE, TRUE);

}