|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
Final stage of backup. More...
Public Member Functions | |
| __construct (backup_ui $ui, ?array $params=null) | |
| Constructs the final stage. | |
| display (core_backup_renderer $renderer) | |
| should NEVER be called... throws an exception | |
| get_backupid () | |
| The backup id from the backup controller. | |
| get_name () | |
| The name of this stage. | |
| get_next_stage () | |
| The next stage. | |
| get_params () | |
| Returns the custom params for this stage. | |
| get_prev_stage () | |
| The previous stage. | |
| get_stage () | |
| The current stage. | |
| get_ui () | |
| Returns the base UI class. | |
| get_uniqueid () | |
| The backup id from the backup controller. | |
| is_first_stage () | |
| Returns true if this stage is the first stage. | |
| process (?base_moodleform $form=null) | |
| Processes the final stage. | |
Protected Member Functions | |
| initialise_stage_form () | |
| should NEVER be called... throws an exception | |
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. | |
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:
This highlights that we neither need a form nor a display method for this stage we simply need to process.
| backup_ui_stage_final::__construct | ( | backup_ui | $ui, |
| ?array | $params = null ) |
Constructs the final stage.
| backup_ui | $ui | |
| array | $params |
Reimplemented from backup_ui_stage.
| backup_ui_stage_final::display | ( | core_backup_renderer | $renderer | ) |
should NEVER be called... throws an exception
| backup_ui_exception | always |
| core_backup_renderer | $renderer |
| void |
Reimplemented from base_ui_stage.
Reimplemented in backup_ui_stage_complete.
|
finalinherited |
The backup id from the backup controller.
| string |
|
inherited |
|
inherited |
The next stage.
| int |
Reimplemented in backup_ui_stage_initial, and import_ui_stage_precheck.
|
finalinherited |
Returns the custom params for this stage.
| array|null |
|
finalinherited |
The previous stage.
| int |
|
finalinherited |
The current stage.
| int |
|
finalinherited |
Returns the base UI class.
| base_ui |
|
finalinherited |
The backup id from the backup controller.
| string |
|
protected |
should NEVER be called... throws an exception
Reimplemented from base_ui_stage.
|
inherited |
Returns true if this stage is the first stage.
| bool |
Reimplemented in restore_ui_stage.
| backup_ui_stage_final::process | ( | ?base_moodleform | $form = null | ) |
Processes the final stage.
In this case it ALWAYS passes processing to the previous stage (confirmation)
| base_moodleform | $form |
| bool |
Reimplemented from base_ui_stage.