function CourseObject::getInstanceId in Course 6
Same name and namespace in other branches
- 7.2 includes/CourseObject.inc \CourseObject::getInstanceId()
- 7 includes/CourseObject.inc \CourseObject::getInstanceId()
Get the instance ID. This could be the external component ID, a Node ID...
Return value
int
14 calls to CourseObject::getInstanceId()
- CourseObject::save in includes/
course_object.core.inc - Let objects create their instances before saving the course object.
- CourseObjectContent::optionsForm in modules/
course_content/ course_content.classes.inc - Set the default content type to be created.
- CourseObjectNode::delete in includes/
course_object.core.inc - Destroy the node instance.
- CourseObjectNode::getEditUrl in includes/
course_object.core.inc - Get the URL to edit this course object, if any.
- CourseObjectNode::getTakeUrl in includes/
course_object.core.inc - Get the URL to take this course object, if any.
File
- includes/
course_object.core.inc, line 671
Class
- CourseObject
- Parent abstract base class of all course objects.
Code
function getInstanceId() {
return $this
->getOption('instance');
}