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

Public Member Functions

 get_paths ()
 process_quiz ($data)
 on_quiz_question_instances_start ()
 on_quiz_question_instances_end ()
 process_quiz_question_instance ($data)
 on_quiz_feedbacks_start ()
 on_quiz_feedbacks_end ()
 process_quiz_feedback ($data)
 on_quiz_end ()

Protected Attributes

 $fileman = null
 $moduleid = null

Detailed Description

Quiz conversion handler

Definition at line 32 of file lib.php.


Member Function Documentation

get_paths ( )

Declare the paths in moodle.xml we are able to convert

The method returns list of convert_path instances. For each path returned, the corresponding conversion method must be defined.

Note that the path /MOODLE_BACKUP/COURSE/MODULES/MOD/QUIZ does not actually exist in the file. The last element with the module name was appended by the moodle1_converter class.

Returns:
array of convert_path instances

Definition at line 53 of file lib.php.

This is executed when we reach the closing </MOD> tag of our 'quiz' path

Definition at line 172 of file lib.php.

Here is the call graph for this function:

Definition at line 153 of file lib.php.

Definition at line 149 of file lib.php.

Definition at line 141 of file lib.php.

Definition at line 137 of file lib.php.

process_quiz ( data)

This is executed every time we have one /MOODLE_BACKUP/COURSE/MODULES/MOD/QUIZ data available

Definition at line 87 of file lib.php.

Here is the call graph for this function:

process_quiz_feedback ( data)

Definition at line 157 of file lib.php.

Here is the call graph for this function:

Definition at line 145 of file lib.php.

Here is the call graph for this function:


Field Documentation

$fileman = null [protected]

Definition at line 35 of file lib.php.

$moduleid = null [protected]

Definition at line 38 of file lib.php.


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