public function CourseReport::getCourse in Course 7.2
Same name and namespace in other branches
- 6 includes/course.core.inc \CourseReport::getCourse()
- 7 includes/CourseReport.inc \CourseReport::getCourse()
Get the course of this tracker.
Return value
File
- includes/
CourseReport.inc, line 14
Class
- CourseReport
- Holds a user's total progress through a course and functionality to check for completion of required objects.
Code
public function getCourse() {
return entity_load_single('course', $this->nid);
}