|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| get_uniqueid () | |
| get_backupid () | |
| execute () | |
| get_progress_bar () | |
| get_name () | |
| get_first_stage_id () | |
Static Public Member Functions | |
| static | load_controller ($backupid=false) |
| static | skip_current_stage ($setting=true) |
Data Fields | |
| const | STAGE_INITIAL = 1 |
| const | STAGE_SCHEMA = 2 |
| const | STAGE_CONFIRMATION = 4 |
| const | STAGE_FINAL = 8 |
| const | STAGE_COMPLETE = 16 |
Protected Member Functions | |
| initialise_stage ($stage=null, array $params=null) | |
Static Protected Attributes | |
| static | $skipcurrentstage = false |
This is the backup user interface class
The backup user interface class manages the user interface and backup for Moodle.
Definition at line 35 of file backup_ui.class.php.
| execute | ( | ) |
Executes the backup plan
Reimplemented from base_ui.
Definition at line 102 of file backup_ui.class.php.
| get_backupid | ( | ) |
Gets the backup id from the controller
Definition at line 95 of file backup_ui.class.php.

Gets the id of the first stage this UI is reponsible for
Reimplemented from base_ui.
Definition at line 178 of file backup_ui.class.php.
| get_name | ( | ) |
Gets the name related to the operation of this UI
Reimplemented from base_ui.
Definition at line 171 of file backup_ui.class.php.
| get_progress_bar | ( | ) |
Gets an array of progress bar items that can be displayed through the backup renderer.
Reimplemented from base_ui.
Reimplemented in import_ui.
Definition at line 138 of file backup_ui.class.php.

| get_uniqueid | ( | ) |
Returns the backup id
Reimplemented from base_ui.
Definition at line 88 of file backup_ui.class.php.

| initialise_stage | ( | $ | stage = null, |
| array $ | params = null |
||
| ) | [protected] |
Intialises what ever stage is requested. If none are requested we check params for 'stage' and default to initial
| int | null | $stage | The desired stage to intialise or null for the default |
Reimplemented from base_ui.
Reimplemented in import_ui.
Definition at line 58 of file backup_ui.class.php.

| static load_controller | ( | $ | backupid = false | ) | [static, final] |
Loads the backup controller if we are tracking one
Reimplemented from base_ui.
Definition at line 119 of file backup_ui.class.php.
| static skip_current_stage | ( | $ | setting = true | ) | [static] |
If called with default arg the current stage gets skipped.
Definition at line 185 of file backup_ui.class.php.
$skipcurrentstage = false [static, protected] |
Definition at line 49 of file backup_ui.class.php.
| const STAGE_COMPLETE = 16 |
Definition at line 43 of file backup_ui.class.php.
| const STAGE_CONFIRMATION = 4 |
Definition at line 41 of file backup_ui.class.php.
| const STAGE_FINAL = 8 |
Definition at line 42 of file backup_ui.class.php.
| const STAGE_INITIAL = 1 |
The stages of the backup user interface.
Definition at line 39 of file backup_ui.class.php.
| const STAGE_SCHEMA = 2 |
Definition at line 40 of file backup_ui.class.php.