You are here

function CourseObjectUbercart::thaw in Course 7

Same name and namespace in other branches
  1. 8.3 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::thaw()
  2. 8.2 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::thaw()
  3. 6 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::thaw()
  4. 7.2 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::thaw()

Thaw data frozen from an earlier export/clone.

Parameters

array $data: Unfrozen data.

Return value

int The new instance ID.

Overrides CourseObjectNode::thaw

File

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

Class

CourseObjectUbercart

Code

function thaw($ice) {

  // Not creating a new product. Using this course.
  return $this
    ->getCourseNid();
}