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

Public Member Functions

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

Protected Member Functions

 write_multichoice (array $multichoices, $oldquestiontextformat)

Detailed Description

Multichoice 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 multichoice specific information to the question

Reimplemented from moodle1_qtype_handler.

Definition at line 45 of file lib.php.

Here is the call graph for this function:

write_multichoice ( array multichoices,
oldquestiontextformat 
) [protected]

Converts the multichoice info and writes it into the question.xml

Parameters:
array$multichoicesthe grouped structure
int$oldquestiontextformat- {
See also:
moodle1_question_bank_handler::process_question()}

Definition at line 77 of file lib.php.

Here is the call graph for this function:

Here is the caller graph for this function:


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