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

Public Member Functions

 process_randomsamatch ($data)
 recode_state_answer ($state)

Protected Member Functions

 define_question_plugin_structure ()

Detailed Description

restore plugin class that provides the necessary information needed to restore one randomsamatch qtype plugin

Definition at line 35 of file restore_qtype_randomsamatch_plugin.class.php.


Member Function Documentation

Returns the paths to be handled by the plugin at question level

Definition at line 40 of file restore_qtype_randomsamatch_plugin.class.php.

Here is the call graph for this function:

process_randomsamatch ( data)

Process the qtype/randomsamatch element

Definition at line 55 of file restore_qtype_randomsamatch_plugin.class.php.

Here is the call graph for this function:

recode_state_answer ( state)

Given one question_states record, return the answer recoded pointing to all the restored stuff for randomsamatch questions

answer is one comma separated list of hypen separated pairs containing question->id and question_answers->id

Definition at line 85 of file restore_qtype_randomsamatch_plugin.class.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