Schema stage of backup process.
More...
|
int const | MAX_SETTINGS_BATCH = 1000 |
| Maximum number of settings to add to form at once.
|
|
|
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.
|
|
Schema stage of backup process.
During the schema stage the user is required to set the settings that relate to the area that they are backing up as well as its children.
- Copyright
- 2010 Sam Hemelryk
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
restore_ui_stage_schema::__construct |
( |
restore_ui | $ui, |
|
|
array | $params = null ) |
◆ display()
◆ 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::has_sub_stages |
( |
| ) |
|
|
inherited |
◆ initialise_stage_form()
restore_ui_stage_schema::initialise_stage_form |
( |
| ) |
|
|
protected |
◆ 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 schema stage.
- Parameters
-
- Return values
-
int | The number of changes the user made |
Reimplemented from base_ui_stage.
The documentation for this class was generated from the following file:
- backup/util/ui/restore_ui_stage.class.php