function _CourseList::find_all_matches

4.x _CourseList.php _CourseList::find_all_matches(Course $course_c)
5.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 213

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;
}