You are here

function CourseObjectFulfillment::setGrade in Course 7.2

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

Set this fulfillment's grade.

Parameters

float $grade:

Return value

CourseObjectFulfillment

File

includes/CourseObjectFulfillment.inc, line 52

Class

CourseObjectFulfillment
Parent class for course object fulfillment.

Code

function setGrade($grade) {
  return $this
    ->setOption('grade_result', $grade);
}