You are here

public function CourseObject::delete in Course 6

Same name and namespace in other branches
  1. 7.2 includes/CourseObject.inc \CourseObject::delete()
  2. 7 includes/CourseObject.inc \CourseObject::delete()

Deletes a course object's external resources.

For example, this would delete the associated node (if this was a CourseObjectNode) and delete all other associated data.

1 method overrides CourseObject::delete()
CourseObjectNode::delete in includes/course_object.core.inc
Destroy the node instance.

File

includes/course_object.core.inc, line 806

Class

CourseObject
Parent abstract base class of all course objects.

Code

public function delete() {

  //something_delete($this->getInstanceId());
}