function Group::reload_missing_courses

6.x Group.php Group::reload_missing_courses()

File

classes/Group.php, line 421

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);

}