You are here

function qformat_default::setCourse in Quiz 6.5

Same name and namespace in other branches
  1. 6.6 includes/moodle/question/format.php \qformat_default::setCourse()

set the course class variable

Parameters

course object Moodle course variable:

File

includes/moodle/question/format.php, line 72

Class

qformat_default
Base class for question import and export formats.

Code

function setCourse($course) {
  $this->course = $course;
}