_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 1211

Class

_CourseList

Code

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

}