Class representing the initial stage of a backup.
More...
|
bool | $oneclickbackup = false |
| When set to true we skip all stages and jump to immediately processing the backup.
|
|
array | $params = null |
| Custom form params that will be added as hidden inputs.
|
|
int | $stage = 1 |
| The current stage.
|
|
base_moodleform | $stageform = null |
| The moodleform for this stage.
|
|
base_ui | $ui |
| The backuck UI object.
|
|
Class representing the initial stage of a backup.
In this stage the user is required to set the root level settings.
- Copyright
- 2010 Sam Hemelryk
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
backup_ui_stage_initial::__construct |
( |
backup_ui | $ui, |
|
|
array | $params = null ) |
Initial backup stage constructor.
- Parameters
-
Reimplemented from backup_ui_stage.
◆ display()
◆ get_backupid()
backup_ui_stage::get_backupid |
( |
| ) |
|
|
finalinherited |
The backup id from the backup controller.
- Return values
-
◆ get_name()
base_ui_stage::get_name |
( |
| ) |
|
|
inherited |
◆ get_next_stage()
backup_ui_stage_initial::get_next_stage |
( |
| ) |
|
Gets the next stage for the backup.
We override this function to implement the one click backup. When the user performs a one click backup we jump straight to the final stage.
- Return values
-
Reimplemented from base_ui_stage.
◆ 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_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
-
◆ initialise_stage_form()
backup_ui_stage_initial::initialise_stage_form |
( |
| ) |
|
|
protected |
◆ is_first_stage()
base_ui_stage::is_first_stage |
( |
| ) |
|
|
inherited |
Returns true if this stage is the first stage.
- Return values
-
Reimplemented in restore_ui_stage.
◆ process()
Processes the initial backup stage.
- Parameters
-
- Return values
-
Reimplemented from base_ui_stage.
The documentation for this class was generated from the following file:
- backup/util/ui/backup_ui_stage.class.php