You are here

function CourseReport::isComplete in Course 7.2

If the course is complete for this record.

Return value

bool

File

includes/CourseReport.inc, line 91

Class

CourseReport
Holds a user's total progress through a course and functionality to check for completion of required objects.

Code

function isComplete() {
  return $this
    ->getOption('complete');
}