You are here

function CourseObject::setModule in Course 7

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

Set the module that provides this course object.

Return value

CourseObject

File

includes/CourseObject.inc, line 823

Class

CourseObject
Parent abstract base class of all course objects.

Code

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