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