This is the completed stage.
More...
|
const | SUBSTAGE_NONE = 0 |
| There is no substage required.
|
|
const | SUBSTAGE_PRECHECKS = 2 |
| The prechecks substage is required/the current substage.
|
|
|
array | $params = null |
| Custom form params that will be added as hidden inputs.
|
|
array | $results |
| The results of the backup execution.
|
|
int | $stage = 1 |
| The current stage.
|
|
base_moodleform | $stageform = null |
| The moodleform for this stage.
|
|
int | $substage = 0 |
| The current substage.
|
|
base_ui | $ui |
| The backuck UI object.
|
|
This is the completed stage.
Once this is displayed there is nothing more to do.
- Copyright
- 2010 Sam Hemelryk
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
restore_ui_stage_complete::__construct |
( |
restore_ui | $ui, |
|
|
array | $params = null, |
|
|
array | $results = null ) |
Constructs the complete backup stage.
- Parameters
-
◆ display()
Displays the completed backup stage.
Currently this just envolves redirecting to the file browser with an appropriate message.
- Parameters
-
- Return values
-
Reimplemented from restore_ui_stage_process.
◆ get_name()
restore_ui_stage::get_name |
( |
| ) |
|
|
finalinherited |
The name of this stage.
- Return values
-
Reimplemented from base_ui_stage.
◆ get_next_stage()
base_ui_stage::get_next_stage |
( |
| ) |
|
|
inherited |
◆ get_params()
base_ui_stage::get_params |
( |
| ) |
|
|
finalinherited |
Returns the custom params for this stage.
- Return values
-
◆ get_prev_stage()
base_ui_stage::get_prev_stage |
( |
| ) |
|
|
finalinherited |
The previous stage.
- Return values
-
◆ get_restoreid()
restore_ui_stage::get_restoreid |
( |
| ) |
|
|
finalinherited |
The restore id from the restore controller.
- Return values
-
◆ get_stage()
base_ui_stage::get_stage |
( |
| ) |
|
|
finalinherited |
The current stage.
- Return values
-
◆ get_ui()
base_ui_stage::get_ui |
( |
| ) |
|
|
finalinherited |
Returns the base UI class.
- Return values
-
◆ get_uniqueid()
base_ui_stage::get_uniqueid |
( |
| ) |
|
|
finalinherited |
The backup id from the backup controller.
- Return values
-
◆ has_sub_stages()
restore_ui_stage_process::has_sub_stages |
( |
| ) |
|
|
inherited |
Returns true if this stage can have sub-stages.
- Return values
-
Reimplemented from restore_ui_stage.
◆ initialise_stage_form()
restore_ui_stage_process::initialise_stage_form |
( |
| ) |
|
|
protectedinherited |
should NEVER be called... throws an exception
Reimplemented from base_ui_stage.
◆ is_first_stage()
restore_ui_stage::is_first_stage |
( |
| ) |
|
|
finalinherited |
Returns true if this is the settings stage.
- Return values
-
Reimplemented from base_ui_stage.
◆ is_independent()
restore_ui_stage::is_independent |
( |
| ) |
|
|
finalinherited |
This is an independent stage.
- Return values
-
◆ process()
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.
- Parameters
-
Reimplemented from base_ui_stage.
The documentation for this class was generated from the following file:
- backup/util/ui/restore_ui_stage.class.php