function questions_import_type in Quiz 6.6
Same name and namespace in other branches
- 6.3 includes/questions_import/questions_import.admin.inc \questions_import_type()
Return value
This function is intended to return a list of supported formats for import
1 call to questions_import_type()
- questions_import_form in includes/
questions_import/ questions_import.admin.inc - @function Implementation of hook_form() provides form to upload questions
File
- includes/
questions_import/ questions_import.admin.inc, line 132 - Administration file for Questions Import module
Code
function questions_import_type() {
$type = array(
// native types
'native_csv' => t('Comma Separated Values (by Drupal)'),
'native_aiken' => t('Aiken (by Drupal)'),
'native_qti12' => t('QTI 1.2 (by Drupal)'),
// types implemented using Moodle code
// TODO would be nice to scan the Moodle 'format' directory for types but they don't have display names
'moodle_aiken' => t('Aiken (by Moodle)'),
//'moodle_blackboard' => t('Blackboard 6.x (by Moodle)'),
//'moodle_examview' => t('ExamView (by Moodle)'),
'moodle_gift' => t('GIFT (by Moodle)'),
//'moodle_hotpot' => t('Hotpotatoes 6.0 and 6.0 (by Moodle)'),
'moodle_learnwise' => t('Learnwise (by Moodle)'),
'moodle_webct' => t('WebCT (by Moodle)'),
);
return $type;
}