You are here

function CourseObjectFulfillment::getGrade in Course 7

Same name and namespace in other branches
  1. 6 includes/course_object.core.inc \CourseObjectFulfillment::getGrade()
  2. 7.2 includes/CourseObjectFulfillment.inc \CourseObjectFulfillment::getGrade()

Get this fulfillment's grade.

Return value

float A float value of the user's grade for this fulfillment.

File

includes/CourseObjectFulfillment.inc, line 53

Class

CourseObjectFulfillment
Parent class for course object fulfillment.

Code

function getGrade() {
  return $this
    ->getOption('grade_result');
}