You are here

public function CourseObjectFulfillment::save in Course 6

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

Track course after saving fulfillment.

Overrides CourseHandler::save

File

includes/course_object.core.inc, line 1056

Class

CourseObjectFulfillment
Parent class for course object fulfillment.

Code

public function save() {
  parent::save();
  $this
    ->getCourseObject()
    ->getCourse()
    ->track();
}