|
Moodle
2.2.1
http://www.collinsharper.com
|


Protected Member Functions | |
| define_structure () | |
| process_quiz ($data) | |
| process_quiz_question_instance ($data) | |
| process_quiz_feedback ($data) | |
| process_quiz_override ($data) | |
| process_quiz_grade ($data) | |
| process_quiz_attempt ($data) | |
| process_quiz_attempt_legacy ($data) | |
| inform_new_usage_id ($newusageid) | |
| after_execute () | |
Structure step to restore one quiz activity
Definition at line 34 of file restore_quiz_stepslib.php.
| after_execute | ( | ) | [protected] |
This method will be executed after the whole structure step have been processed
After execution method for code needed to be executed after the whole structure has been processed. Useful for cleaning tasks, files process and others. Simply overwrite in in your steps if needed
Reimplemented from restore_questions_activity_structure_step.
Definition at line 338 of file restore_quiz_stepslib.php.

| define_structure | ( | ) | [protected] |
Function that will return the structure to be processed by this restore_step. Must return one array of elements
Reimplemented from restore_structure_step.
Definition at line 36 of file restore_quiz_stepslib.php.

| inform_new_usage_id | ( | $ | newusageid | ) | [protected] |
When process_question_usage creates the new usage, it calls this method to let the activity link to the new usage. For example, the quiz uses this method to set quiz_attempts.uniqueid to the new usage id.
| integer | $newusageid |
Reimplemented from restore_questions_activity_structure_step.
Definition at line 324 of file restore_quiz_stepslib.php.

| process_quiz | ( | $ | data | ) | [protected] |
| process_quiz_attempt | ( | $ | data | ) | [protected] |
Definition at line 298 of file restore_quiz_stepslib.php.


| process_quiz_attempt_legacy | ( | $ | data | ) | [protected] |
| process_quiz_feedback | ( | $ | data | ) | [protected] |
| process_quiz_grade | ( | $ | data | ) | [protected] |
| process_quiz_override | ( | $ | data | ) | [protected] |
| process_quiz_question_instance | ( | $ | data | ) | [protected] |