You are here

public function CourseObject::delete in Course 7

Same name and namespace in other branches
  1. 6 includes/course_object.core.inc \CourseObject::delete()
  2. 7.2 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.

Overrides Entity::delete

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

File

includes/CourseObject.inc, line 868

Class

CourseObject
Parent abstract base class of all course objects.

Code

public function delete() {

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