Example #1
0
 protected function after_execute()
 {
     parent::after_execute();
     // Restore any files belonging to responses.
     foreach (question_engine::get_all_response_file_areas() as $filearea) {
         $this->add_related_files('question', $filearea, 'question_attempt_step');
     }
 }
 protected function apply_activity_instance($newitemid)
 {
     // Call parent setup to adjust the restore register instance
     parent::apply_activity_instance($newitemid);
 }