You are here

function qformat_qti2::export_file_extension in Quiz 6.6

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

Return the files extension appropriate for this type override if you don't want .txt

Return value

string file extension

Overrides qformat_default::export_file_extension

File

includes/moodle/question/format/qti2/format.php, line 130

Class

qformat_qti2

Code

function export_file_extension() {

  // override default type so extension is .xml
  return ".zip";
}