You are here

public function CourseReport::getCourse in Course 7

Same name and namespace in other branches
  1. 6 includes/course.core.inc \CourseReport::getCourse()
  2. 7.2 includes/CourseReport.inc \CourseReport::getCourse()

Get the course of this tracker.

Return value

Course

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