You are here

function qformat_default::setCatfromfile in Quiz 6.6

Same name and namespace in other branches
  1. 6.5 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;
}