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

Public Member Functions

 process_truefalse ($data)
 recode_legacy_state_answer ($state)

Protected Member Functions

 define_question_plugin_structure ()

Detailed Description

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

Definition at line 35 of file restore_qtype_truefalse_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_truefalse_plugin.class.php.

Here is the call graph for this function:

process_truefalse ( data)

Process the qtype/truefalse element

Definition at line 58 of file restore_qtype_truefalse_plugin.class.php.

Here is the call graph for this function:

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

if not empty, answer is one question_answers->id

Reimplemented from restore_qtype_plugin.

Definition at line 88 of file restore_qtype_truefalse_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