function _CourseList::get_course_id_array

5.x _CourseList.php _CourseList::get_course_id_array()

Return an array of all the course_id's in this course_list.

File

classes/_CourseList.php, line 851

Class

_CourseList

Code

function get_course_id_array() {

  $rtn = array();

  for ($t = 0; $t < $this->count; $t++) 
   {
    $course = $this->array_list [$t];

    $rtn [$course->course_id] = TRUE;
  }

  return $rtn;

}