public function CourseObject::create in Course 6
Same name and namespace in other branches
- 7.2 includes/CourseObject.inc \CourseObject::create()
- 7 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/course_object.core.inc 
- Let objects create their instances before saving the course object.
1 method overrides CourseObject::create()
- CourseObjectNode::create in includes/course_object.core.inc 
- Creates a course object.
File
- includes/course_object.core.inc, line 796 
Class
- CourseObject
- Parent abstract base class of all course objects.
Code
public function create() {
  //$this->setInstanceId($id);
}