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

Public Member Functions

 get_question_subpaths ()
 process_question (array $data, array $raw)

Detailed Description

Multianswer (aka embedded, cloze) question type conversion handler

Definition at line 30 of file lib.php.


Member Function Documentation

Returns:
array

Reimplemented from moodle1_qtype_handler.

Definition at line 35 of file lib.php.

process_question ( array data,
array raw 
)

Appends the multianswer specific information to the question

Note that there is an upgrade step 2008050800 that is not replayed here as I suppose there was an error on restore and the backup file contains correct data. If I'm wrong on this assumption then the parent of the embedded questions could be fixed on conversion in theory (by using a temporary stash that keeps multianswer's id and its sequence) but the category fix would be tricky in XML.

Reimplemented from moodle1_qtype_handler.

Definition at line 51 of file lib.php.

Here is the call graph for this function:


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