You are here

function CourseObjectQuiz::create in Course 7

Same name and namespace in other branches
  1. 6 modules/course_quiz/course_quiz.classes.inc \CourseObjectQuiz::create()
  2. 7.2 modules/course_quiz/course_quiz.classes.inc \CourseObjectQuiz::create()

Create the quiz node and set it as this object's instance.

Overrides CourseObjectNode::create

File

modules/course_quiz/course_quiz.classes.inc, line 8

Class

CourseObjectQuiz

Code

function create($node = NULL) {
  if (!$node) {
    $node = new stdClass();
  }
  $node->auto_created = TRUE;
  parent::create($node);
}