function qformat_default::setContextfromfile in Quiz 6.6
Same name and namespace in other branches
- 6.5 includes/moodle/question/format.php \qformat_default::setContextfromfile()
set contextfromfile
Parameters
bool $contextfromfile allow contexts embedded in import file:
File
- includes/
moodle/ question/ format.php, line 121
Class
- qformat_default
- Base class for question import and export formats.
Code
function setContextfromfile($contextfromfile) {
$this->contextfromfile = $contextfromfile;
}