function CourseObject::getCloneAbility in Course 7.2
Same name and namespace in other branches
- 6 includes/course_object.core.inc \CourseObject::getCloneAbility()
- 7 includes/CourseObject.inc \CourseObject::getCloneAbility()
Returns an translated error message if this object has issues with cloning.
Return value
mixed TRUE if cloning is supported, FALSE if cloning is not supported. A string if the object can clone but with caveats.
2 methods override CourseObject::getCloneAbility()
- CourseObjectCertificate::getCloneAbility in modules/
course_certificate/ course_certificate.classes.inc - Returns an translated error message if this object has issues with cloning.
- CourseObjectNode::getCloneAbility in includes/
CourseObjectNode.inc - Returns an translated error message if this object has issues with cloning.
File
- includes/
CourseObject.inc, line 1006
Class
- CourseObject
- Parent abstract base class of all course objects.
Code
function getCloneAbility() {
return FALSE;
}