You are here

function CourseObject::setModule in Course 6

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

Set the module that provides this course object.

Return value

CourseObject

File

includes/course_object.core.inc, line 754

Class

CourseObject
Parent abstract base class of all course objects.

Code

function setModule($module) {
  return $this
    ->setOption('module', $module);
}