function CourseObject::getComponentName in Course 7
Same name and namespace in other branches
- 7.2 includes/CourseObject.inc \CourseObject::getComponentName()
Get the object component title for this course object.
Return value
string
File
- includes/
CourseObject.inc, line 804
Class
- CourseObject
- Parent abstract base class of all course objects.
Code
function getComponentName() {
$handlers = course_get_handlers('object');
return $handlers[$this
->getModule()][$this
->getComponent()]['name'];
}