public function CourseObjectUbercart::create in Course 7.2
Same name and namespace in other branches
- 8.3 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::create()
- 8.2 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::create()
- 6 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::create()
- 7 modules/course_uc/course_uc.classes.inc \CourseObjectUbercart::create()
Don't create new products.
Overrides CourseObjectNode::create
File
- modules/
course_uc/ course_uc.classes.inc, line 60
Class
Code
public function create($node = NULL) {
if (!$this
->getInstanceId()) {
$this
->setOption('instance', $this
->getCourseNid());
}
}