You are here

function qformat_xml::export_file_extension in Quiz 6.6

Same name and namespace in other branches
  1. 6.5 includes/moodle/question/format/xml/format.php \qformat_xml::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/xml/format.php, line 589

Class

qformat_xml

Code

function export_file_extension() {

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