You are here

function CourseObjectUbercart::getCloneAbility in Course 6

Same name and namespace in other branches
  1. 8.3 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::getCloneAbility()
  2. 8.2 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::getCloneAbility()
  3. 7.2 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::getCloneAbility()
  4. 7 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::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.

Overrides CourseObjectNode::getCloneAbility

File

modules/course_uc/course_uc.classes.inc, line 64

Class

CourseObjectUbercart

Code

function getCloneAbility() {
  return TRUE;
}