You are here

function CourseObject::isTemporary in Course 6

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

Checks the temporary status of a course object.

1 call to CourseObject::isTemporary()
CourseObject::getOptionsSummary in includes/course_object.core.inc
Get core options summary.

File

includes/course_object.core.inc, line 943

Class

CourseObject
Parent abstract base class of all course objects.

Code

function isTemporary() {
  return strpos($this
    ->getId(), 'course_object_') === 0;
}