function CourseObject::setComponent in Course 7
Same name and namespace in other branches
- 6 includes/course_object.core.inc \CourseObject::setComponent()
- 7.2 includes/CourseObject.inc \CourseObject::setComponent()
Set the object component for this course object.
Return value
File
- includes/
CourseObject.inc, line 832
Class
- CourseObject
- Parent abstract base class of all course objects.
Code
function setComponent($component) {
return $this
->setOption('object_type', $component);
}