Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
This stage is the settings stage. More...
Public Member Functions | |
__construct (restore_ui $ui, array $params=null) | |
Initial restore stage constructor. More... | |
display (core_backup_renderer $renderer) | |
Displays the stage. More... | |
get_name () | |
The name of this stage. More... | |
get_next_stage () | |
The next stage. More... | |
get_params () | |
Returns the custom params for this stage. More... | |
get_prev_stage () | |
The previous stage. More... | |
get_restoreid () | |
The restore id from the restore controller. More... | |
get_stage () | |
The current stage. More... | |
get_ui () | |
Returns the base UI class. More... | |
get_uniqueid () | |
The backup id from the backup controller. More... | |
has_sub_stages () | |
No sub stages for this stage. More... | |
is_first_stage () | |
Returns true if this is the settings stage. More... | |
is_independent () | |
This is an independent stage. More... | |
process (base_moodleform $form=null) | |
Process the settings stage. More... | |
Protected Member Functions | |
initialise_stage_form () | |
Initialise the stage form. More... | |
Protected Attributes | |
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. | |
This stage is the settings stage.
This stage is the third stage, it is dependent on a restore controller and is the first stage as such.
restore_ui_stage_settings::__construct | ( | restore_ui | $ui, |
array | $params = null |
||
) |
Initial restore stage constructor.
restore_ui | $ui | |
array | $params |
Reimplemented from restore_ui_stage.
|
inherited |
Displays the stage.
By default this involves instantiating the form for the stage and the calling it to display.
core_backup_renderer | $renderer |
string | HTML code to echo |
Reimplemented in restore_ui_stage_complete, restore_ui_stage_process, import_ui_stage_confirmation, backup_ui_stage_complete, and backup_ui_stage_final.
|
finalinherited |
|
inherited |
|
finalinherited |
Returns the custom params for this stage.
array|null |
|
finalinherited |
The previous stage.
int |
|
finalinherited |
The restore id from the restore controller.
string |
|
finalinherited |
The current stage.
int |
|
finalinherited |
Returns the base UI class.
base_ui |
|
finalinherited |
The backup id from the backup controller.
string |
|
inherited |
|
protected |
Initialise the stage form.
backup_moodleform|base_moodleform|restore_settings_form |
coding_exception |
Reimplemented from base_ui_stage.
|
finalinherited |
|
finalinherited |
This is an independent stage.
int |
restore_ui_stage_settings::process | ( | base_moodleform | $form = null | ) |
Process the settings stage.
base_moodleform | $form |
bool|int |
Reimplemented from base_ui_stage.