public function CourseObject::create in Course 7
Same name and namespace in other branches
- 6 includes/course_object.core.inc \CourseObject::create()
- 7.2 includes/CourseObject.inc \CourseObject::create()
Creates a course object.
For example, this would create the new node and return the node ID if this was a CourseObjectNode.
Do not confuse this with save(), which saves the course outline record for tracking.
Course objects should call setInstanceId() if this is a course object that creates external resources.
1 call to CourseObject::create()
- CourseObject::save in includes/
CourseObject.inc - Let objects create their instances before saving the course object.
1 method overrides CourseObject::create()
- CourseObjectNode::create in includes/
CourseObjectNode.inc - Create a node and set it as this course object's node.
File
- includes/
CourseObject.inc, line 858
Class
- CourseObject
- Parent abstract base class of all course objects.
Code
public function create() {
//$this->setInstanceId($id);
}