function CourseObject::getInstanceId in Course 7
Same name and namespace in other branches
- 6 includes/course_object.core.inc \CourseObject::getInstanceId()
- 7.2 includes/CourseObject.inc \CourseObject::getInstanceId()
Get the instance ID. This could be the external component ID, a Node ID...
Return value
string
13 calls to CourseObject::getInstanceId()
- CourseObject::save in includes/
CourseObject.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/
CourseObjectNode.inc - Destroy the node instance.
- CourseObjectNode::getWarnings in includes/
CourseObjectNode.inc - Show a warning if this object has an instance, but the node does not exist.
- CourseObjectNode::optionsForm in includes/
CourseObjectNode.inc - Default options form for all course objects.
File
- includes/
CourseObject.inc, line 729
Class
- CourseObject
- Parent abstract base class of all course objects.
Code
function getInstanceId() {
return $this
->getOption('instance');
}