function qformat_default::export_file_extension in Quiz 6.5
Same name and namespace in other branches
- 6.6 includes/moodle/question/format.php \qformat_default::export_file_extension()
Return the files extension appropriate for this type override if you don't want .txt
Return value
string file extension
1 call to qformat_default::export_file_extension()
- qformat_default::exportprocess in includes/
moodle/ question/ format.php - Do the export For most types this should not need to be overrided
3 methods override qformat_default::export_file_extension()
- qformat_qti2::export_file_extension in includes/
moodle/ question/ format/ qti2/ format.php - Return the files extension appropriate for this type override if you don't want .txt
- qformat_xhtml::export_file_extension in includes/
moodle/ question/ format/ xhtml/ format.php - Return the files extension appropriate for this type override if you don't want .txt
- qformat_xml::export_file_extension in includes/
moodle/ question/ format/ xml/ format.php - Return the files extension appropriate for this type override if you don't want .txt
File
- includes/
moodle/ question/ format.php, line 615
Class
- qformat_default
- Base class for question import and export formats.
Code
function export_file_extension() {
return ".txt";
}