function qformat_default::setContexttofile in Quiz 6.5
Same name and namespace in other branches
- 6.6 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;
}