function CourseObjectFulfillment::setGrade in Course 6
Same name and namespace in other branches
- 7.2 includes/CourseObjectFulfillment.inc \CourseObjectFulfillment::setGrade()
- 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);
}