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