You are here

function CourseObject::getComponent in Course 6

Same name and namespace in other branches
  1. 7.2 includes/CourseObject.inc \CourseObject::getComponent()
  2. 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');
}