|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| provide_import () | |
| check_and_create_import_dir ($unique_code) | |
| clean_temp_dir ($dir='') | |
| check_dir_exists ($dir, $create=false) | |
| importpostprocess () | |
| copy_file_to_course ($filename) | |
| readdata ($filename) | |
| save_question_options ($question) | |
| readquestions ($lines) | |
| create_raw_question ($quest) | |
| process_block ($cur_block, &$block) | |
| process_choices ($bb_choices, &$choices) | |
| process_matching_responses ($bb_responses, &$responses) | |
| process_responses ($bb_responses, &$responses) | |
| process_feedback ($feedbackset, &$feedbacks) | |
| process_common ($quest) | |
| process_tf ($quest, &$questions) | |
| process_fblank ($quest, &$questions) | |
| process_mc ($quest, &$questions) | |
| process_ma ($quest, &$questions) | |
| process_essay ($quest, &$questions) | |
| process_matching ($quest, &$questions) | |
| strip_applet_tags_get_mathml ($string) | |
Blackboard 6.0 question importer.
Definition at line 38 of file format.php.
| check_and_create_import_dir | ( | $ | unique_code | ) |
Definition at line 45 of file format.php.


| check_dir_exists | ( | $ | dir, |
| $ | create = false |
||
| ) |
| clean_temp_dir | ( | $ | dir = '' | ) |
| copy_file_to_course | ( | $ | filename | ) |
| create_raw_question | ( | $ | quest | ) |
Definition at line 286 of file format.php.


Does any post-processing that may be desired Argument is a simple array of question ids that have just been added.
Reimplemented from qformat_default.
Definition at line 144 of file format.php.

| process_block | ( | $ | cur_block, |
| &$ | block | ||
| ) |
| process_choices | ( | $ | bb_choices, |
| &$ | choices | ||
| ) |
| process_common | ( | $ | quest | ) |
Create common parts of question
Definition at line 579 of file format.php.

| process_essay | ( | $ | quest, |
| &$ | questions | ||
| ) |
| process_fblank | ( | $ | quest, |
| &$ | questions | ||
| ) |
| process_feedback | ( | $ | feedbackset, |
| &$ | feedbacks | ||
| ) |
Definition at line 560 of file format.php.
| process_ma | ( | $ | quest, |
| &$ | questions | ||
| ) |
| process_matching | ( | $ | quest, |
| &$ | questions | ||
| ) |
Definition at line 834 of file format.php.


| process_matching_responses | ( | $ | bb_responses, |
| &$ | responses | ||
| ) |
Definition at line 489 of file format.php.
| process_mc | ( | $ | quest, |
| &$ | questions | ||
| ) |
| process_responses | ( | $ | bb_responses, |
| &$ | responses | ||
| ) |
Definition at line 505 of file format.php.
| process_tf | ( | $ | quest, |
| &$ | questions | ||
| ) |
| provide_import | ( | ) |
Reimplemented from qformat_default.
Definition at line 39 of file format.php.
| readdata | ( | $ | filename | ) |
Returns complete file with an array, one item per line
Check for Macintosh OS line returns (ie file on one line), and fix
Reimplemented from qformat_default.
Definition at line 177 of file format.php.

| readquestions | ( | $ | lines | ) |
Parses an array of lines into an array of questions, where each item is a question object as defined by readquestion().
Reimplemented from qformat_default.
Definition at line 238 of file format.php.

| save_question_options | ( | $ | question | ) |
Definition at line 232 of file format.php.
| strip_applet_tags_get_mathml | ( | $ | string | ) |
Definition at line 927 of file format.php.