Abstract class used to represent a restore stage that is indenependent.
More...
Abstract class used to represent a restore stage that is indenependent.
An independent stage is a judged to be so because it doesn't require, and has no use for the restore controller.
- Copyright
- 2010 Sam Hemelryk
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
restore_ui_independent_stage::__construct |
( |
| $contextid | ) |
|
|
abstract |
◆ display()
◆ get_progress_bar()
restore_ui_independent_stage::get_progress_bar |
( |
| ) |
|
Gets an array of progress bar items that can be displayed through the restore renderer.
- Return values
-
array | Array of items for the progress bar |
◆ get_progress_reporter()
restore_ui_independent_stage::get_progress_reporter |
( |
| ) |
|
Gets the progress reporter object in use for this restore UI stage.
IMPORTANT: This progress reporter is used only for UI progress that is outside the restore controller. The restore controller has its own progress reporter which is used for progress during the main restore. Use the restore controller's progress reporter to report progress during a restore operation, not this one.
This extra reporter is necessary because on some restore UI screens, there are long-running tasks even though there is no restore controller in use. There is a similar function in restore_ui. but that class is not used on some stages.
- Return values
-
◆ get_stage()
restore_ui_independent_stage::get_stage |
( |
| ) |
|
|
abstract |
◆ get_stage_name()
restore_ui_independent_stage::get_stage_name |
( |
| ) |
|
|
abstract |
◆ is_independent()
restore_ui_independent_stage::is_independent |
( |
| ) |
|
|
final |
Obviously true.
- Return values
-
◆ process()
restore_ui_independent_stage::process |
( |
| ) |
|
|
abstract |
◆ set_progress_reporter()
restore_ui_independent_stage::set_progress_reporter |
( |
\core\progress\base | $progressreporter | ) |
|
Sets the progress reporter that will be returned by get_progress_reporter.
- Parameters
-
The documentation for this class was generated from the following file:
- backup/util/ui/restore_ui_stage.class.php