function _CourseList::find_all_matches
Search API
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
File
- classes/
_CourseList.php, line 193
Class
Code
function find_all_matches(Course $course_c)
{
if (!$list_matches = parent::find_all_matches($course_c))
{
return false;
}
$list_matches = CourseList::cast($list_matches);
return $list_matches;
}