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

Public Member Functions

 recode_legacy_state_answer ($state)

Detailed Description

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

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


Member Function Documentation

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

answer format is randomxx-yy, with xx being question->id and yy the actual response to the question. We'll delegate the recode to the corresponding qtype

also, some old states can contain, simply, one question->id, support them, just in case

Reimplemented from restore_qtype_plugin.

Definition at line 47 of file restore_qtype_random_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