You are here

function CourseObjectFulfillment::setGrade in Course 6

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

Set this fulfillment's grade.

Parameters

float $grade:

File

includes/course_object.core.inc, line 1027

Class

CourseObjectFulfillment
Parent class for course object fulfillment.

Code

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