You are here

function qformat_default::setContexttofile in Quiz 6.6

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

set contexttofile

Parameters

bool cattofile exports categories within export file:

File

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

Class

qformat_default
Base class for question import and export formats.

Code

function setContexttofile($contexttofile) {
  $this->contexttofile = $contexttofile;
}