Moodle  2.2.1
http://www.collinsharper.com
qformat_blackboard_six Class Reference
Inheritance diagram for qformat_blackboard_six:
Collaboration diagram for qformat_blackboard_six:

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)

Detailed Description

Blackboard 6.0 question importer.

Definition at line 38 of file format.php.


Member Function Documentation

check_and_create_import_dir ( unique_code)

Definition at line 45 of file format.php.

Here is the call graph for this function:

Here is the caller graph for this function:

check_dir_exists ( dir,
create = false 
)

Definition at line 128 of file format.php.

Here is the caller graph for this function:

clean_temp_dir ( dir = '')

Definition at line 60 of file format.php.

Here is the caller graph for this function:

copy_file_to_course ( filename)

Definition at line 153 of file format.php.

Here is the call graph for this function:

create_raw_question ( quest)

Definition at line 286 of file format.php.

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Here is the call graph for this function:

process_block ( cur_block,
&$  block 
)

Definition at line 395 of file format.php.

Here is the caller graph for this function:

process_choices ( bb_choices,
&$  choices 
)

Definition at line 462 of file format.php.

Here is the caller graph for this function:

process_common ( quest)

Create common parts of question

Definition at line 579 of file format.php.

Here is the call graph for this function:

process_essay ( quest,
&$  questions 
)

Definition at line 801 of file format.php.

Here is the caller graph for this function:

process_fblank ( quest,
&$  questions 
)

Definition at line 626 of file format.php.

Here is the caller graph for this function:

process_feedback ( feedbackset,
&$  feedbacks 
)

Definition at line 560 of file format.php.

process_ma ( quest,
&$  questions 
)

Definition at line 757 of file format.php.

Here is the caller graph for this function:

process_matching ( quest,
&$  questions 
)

Definition at line 834 of file format.php.

Here is the call graph for this function:

Here is the caller graph for this function:

process_matching_responses ( bb_responses,
&$  responses 
)

Definition at line 489 of file format.php.

process_mc ( quest,
&$  questions 
)

Definition at line 688 of file format.php.

Here is the caller graph for this function:

process_responses ( bb_responses,
&$  responses 
)

Definition at line 505 of file format.php.

process_tf ( quest,
&$  questions 
)

Definition at line 590 of file format.php.

Here is the caller graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

save_question_options ( question)

Definition at line 232 of file format.php.

Definition at line 927 of file format.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations