You are here

function CourseObject::getComponent in Course 7

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

Get the object component for this course object.

Return value

string

1 call to CourseObject::getComponent()
CourseObject::buildContent in includes/CourseObject.inc
Builds a structured array representing the entity's content.

File

includes/CourseObject.inc, line 814

Class

CourseObject
Parent abstract base class of all course objects.

Code

function getComponent() {
  return $this
    ->getOption('object_type');
}