function CourseList::find_all_matches

6.x CourseList.php CourseList::find_all_matches(stdClass $course_c)

Using the parent's function of find_all_matches, this will return a CourseList of all courses which match the Course object.

Parameters

Course $course_c:

Return value

CourseList

File

classes/CourseList.php, line 215

Class

CourseList

Code

function find_all_matches(stdClass $course_c) 
 {
  if (!$list_matches = parent::find_all_matches($course_c)) 
   {
    return false;
  }


  $list_matches = CourseList::cast($list_matches);
  return $list_matches;
}