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

Protected Member Functions

 define_execution ()

Detailed Description

Execution step that will create all the question/answers/qtype-specific files for the restored questions. It must be executed after restore_move_module_questions_categories because only then each question is in its final category and only then the context can be determined

TODO: Improve this. Instead of looping over each question, it can be reduced to be done by contexts (this will save a huge ammount of queries)

Definition at line 2823 of file restore_stepslib.php.


Member Function Documentation

define_execution ( ) [protected]

Function that will contain all the code to be executed

Reimplemented from restore_execution_step.

Definition at line 2825 of file restore_stepslib.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