You are here

function CourseObject::getCloneAbility in Course 7

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

Class

CourseObject
Parent abstract base class of all course objects.

Code

function getCloneAbility() {
  return FALSE;
}