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


Public Member Functions | |
| __construct (base_ui $ui, array $params=null) | |
| process (base_moodleform $form=null) | |
| display ($renderer) | |
| has_sub_stages () | |
Data Fields | |
| const | SUBSTAGE_NONE = 0 |
| const | SUBSTAGE_PRECHECKS = 2 |
Protected Member Functions | |
| initialise_stage_form () | |
Protected Attributes | |
| $substage = 0 | |
Final stage of backup
This stage is special in that it is does not make use of a form. The reason for this is the order of procession of backup at this stage. The processesion is: 1. The final stage will be intialise. 2. The confirmation stage will be processed. 3. The backup will be executed 4. The complete stage will be loaded by execution 5. The complete stage will be displayed
This highlights that we neither need a form nor a display method for this stage we simply need to process.
Definition at line 603 of file restore_ui_stage.class.php.
| __construct | ( | base_ui $ | ui, |
| array $ | params = null |
||
| ) |
Constructs the final stage
| backup_ui | $ui |
Reimplemented from base_ui_stage.
Definition at line 614 of file restore_ui_stage.class.php.
| display | ( | $ | renderer | ) |
Renders the process stage screen
| core_backup_renderer | $renderer | renderer instance to use |
Definition at line 679 of file restore_ui_stage.class.php.

| has_sub_stages | ( | ) |
No sub stages for this stage
Reimplemented from restore_ui_stage.
Definition at line 720 of file restore_ui_stage.class.php.
| initialise_stage_form | ( | ) | [protected] |
should NEVER be called... throws an exception
Reimplemented from base_ui_stage.
Definition at line 669 of file restore_ui_stage.class.php.
| process | ( | base_moodleform $ | form = null | ) |
Processes the final stage.
In this case it checks to see if there is a sub stage that we need to display before execution, if there is we gear up to display the subpage, otherwise we return true which will lead to execution of the restore and the loading of the completed stage.
Reimplemented from base_ui_stage.
Definition at line 626 of file restore_ui_stage.class.php.

$substage = 0 [protected] |
Definition at line 608 of file restore_ui_stage.class.php.
| const SUBSTAGE_NONE = 0 |
Definition at line 605 of file restore_ui_stage.class.php.
| const SUBSTAGE_PRECHECKS = 2 |
Definition at line 606 of file restore_ui_stage.class.php.