function CourseObject::getComponent in Course 6
Same name and namespace in other branches
- 7.2 includes/CourseObject.inc \CourseObject::getComponent()
- 7 includes/CourseObject.inc \CourseObject::getComponent()
Get the object component for this course object.
Return value
string
3 calls to CourseObject::getComponent()
- CourseObjectBook::create in modules/
course_book/ course_book.classes.inc - Make the book.
- CourseObjectNode::getWarnings in includes/
course_object.core.inc - Return a list of warning strings about this handler.
- CourseObjectScorm::create in modules/
course_scorm/ course_scorm.classes.inc - Creates a course object.
File
- includes/
course_object.core.inc, line 745
Class
- CourseObject
- Parent abstract base class of all course objects.
Code
function getComponent() {
return $this
->getOption('object_type');
}