_CourseList::add_list

5.x _CourseList.php _CourseList::add_list(CourseList $course_l)
4.x _CourseList.php _CourseList::add_list(CourseList $course_l)

Adds the supplied CourseList to the bottom of $this's list.

Parameters

CourseList $course_l:

File

classes/_CourseList.php, line 1694

Class

_CourseList

Code

function add_list(CourseList $course_l) {

  $c = count($course_l->array_list);

  for ($t = 0; $t < $c; $t++) {
    $this->add($course_l->array_list[$t]);
  }

}