Schema stage of backup process.
More...
|
int const | MAX_SETTINGS_BATCH = 1000 |
| Maximum number of settings to add to form at once.
|
|
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()
backup_ui_stage_schema::__construct |
( |
backup_ui |
$ui, |
|
|
array |
$params = null |
|
) |
| |
◆ 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()
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_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_schema::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 schema stage.
- Parameters
-
- Return values
-
int | The number of changes the user made |
Reimplemented from base_ui_stage.
◆ $params
array base_ui_stage::$params = null |
|
protectedinherited |
Custom form params that will be added as hidden inputs.
◆ $stage
int base_ui_stage::$stage = 1 |
|
protectedinherited |
◆ $stageform
The moodleform for this stage.
◆ $ui
The documentation for this class was generated from the following file: