moodle/backup/util/plan
Eloy Lafuente (stronk7) 0149e6c713 MDL-26405 restore - dispatch able to skip branches
after this change any restore_structure_step processor
method is able to instruct the dispatcher about to skip
any path below it. Until now, we were doing the checks on
each child processor method, but that was inneficient and
prone to errors (easy to miss the check in a child so some
orphaned piezes of restore may be causing mess here and there).
Once implemented, it's simlpy a matter of the parent deciding if
all its children must be processed or no. Easier for developers
and also small speed improvement because avoids unnecesary
dispatching/processing to happen.

Surely only will be used in parts of core, like in question_categories,
saving 50-60 sub processors (sub-paths) to be dispatched.
2011-02-16 19:13:56 +01:00
..
simpletest NOMDL Fixed incorrect throwing of exceptions - missing 'new' or unknown exception class 2010-07-18 12:30:49 +00:00
backup_execution_step.class.php MDL-22145 backup storage - provide 'user_tohub' storage for HUB files 2010-04-27 01:02:38 +00:00
backup_plan.class.php MDL-24962 backup - circular refs destroyer for backup plan 2010-11-15 07:15:48 +00:00
backup_step.class.php MDL-21432 move some stuff from base to backup plan classes 2010-06-22 10:31:37 +00:00
backup_structure_step.class.php MDL-24962 backup - now destroying circular refs manually to help PHP 5.2 2010-11-01 22:09:44 +00:00
backup_task.class.php backup MDL-22254 Added backup and restore of course completion information 2010-09-17 03:04:55 +00:00
base_plan.class.php MDL-24962 backup - circular refs destroyer for backup plan 2010-11-15 07:15:48 +00:00
base_step.class.php MDL-25019 backup - course_startdate may not exist 2010-11-24 10:46:15 +00:00
base_task.class.php MDL-25019 backup - course_startdate may not exist 2010-11-24 10:46:15 +00:00
restore_execution_step.class.php MDL-21432 backup - plan/task/step basis 2010-07-05 22:23:00 +00:00
restore_plan.class.php MDL-24962 backup - clean plan/settings circular refs on restore 2010-11-15 16:08:02 +00:00
restore_step.class.php MDL-21432 backup - plan/task/step basis 2010-07-05 22:23:00 +00:00
restore_structure_step.class.php MDL-26405 restore - dispatch able to skip branches 2011-02-16 19:13:56 +01:00
restore_task.class.php NOBUG: Added support for after_restore() methods on restore. Will help some blocks. 2010-11-01 15:53:35 +00:00