function CourseObject::isTemporary in Course 7.2
Same name and namespace in other branches
- 6 includes/course_object.core.inc \CourseObject::isTemporary()
- 7 includes/CourseObject.inc \CourseObject::isTemporary()
Checks the temporary status of a course object.
3 calls to CourseObject::isTemporary()
- CourseObject::getOptionsSummary in includes/
CourseObject.inc - Get core options summary.
- CourseObjectNode::optionsForm in includes/
CourseObjectNode.inc - Default options form for all course objects.
- CourseObjectNode::optionsValidate in includes/
CourseObjectNode.inc - Validate the options form. Check the node type.
File
- includes/
CourseObject.inc, line 1044
Class
- CourseObject
- Parent abstract base class of all course objects.
Code
function isTemporary() {
return strpos($this
->getId(), 'course_object_') === 0;
}