function GroupList::get_group_course_id_array
Search API
6.x GroupList.php | GroupList::get_group_course_id_array() |
Return an array of course_id's for all the groups in this list. will look like: $rtn[group_id][course_id] = TRUE
File
- classes/
GroupList.php, line 95
Class
Code
function get_group_course_id_array() {
$rtn = array();
$this->reset_counter();
for ($t = 0; $t < $this->count; $t++)
{
$g = $this->array_list [$t];
$rtn [$g->group_id] = $g->get_course_id_array();
}
return $rtn;
}