function CourseObjectFulfillment::setGrade in Course 7.2
Same name and namespace in other branches
- 6 includes/course_object.core.inc \CourseObjectFulfillment::setGrade()
- 7 includes/CourseObjectFulfillment.inc \CourseObjectFulfillment::setGrade()
Set this fulfillment's grade.
Parameters
float $grade:
Return value
File
- includes/
CourseObjectFulfillment.inc, line 52
Class
- CourseObjectFulfillment
- Parent class for course object fulfillment.
Code
function setGrade($grade) {
return $this
->setOption('grade_result', $grade);
}