| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
This file contains the backup user interface class
| Copyright: | 2010 Sam Hemelryk |
| License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| File Size: | 366 lines (11 kb) |
| Included or required: | 0 times |
| Referenced: | 2 times |
| Includes or requires: | 0 files |
base_ui_exception:: (0 methods):
Class: base_ui_exception - X-Ref
Backup user interface exception. Modelled off the backup_exception class| __construct($controller, array $params = null) X-Ref |
| Yay for constructors param: backup_controller $controller param: array $params |
| destroy() X-Ref |
| Destorys the backup controller and the loaded stage. |
| process() X-Ref |
| This processes the current stage of the backup return: bool |
| save_controller() X-Ref |
| Saves the backup controller. Once this has been called nothing else can be changed in the controller. return: bool |
| display(core_backup_renderer $renderer) X-Ref |
| Displays the UI for the backup! param: core_backup_renderer $renderer return: string HTML code to echo |
| get_tasks() X-Ref |
| Gets all backup tasks from the controller return: array Array of backup_task |
| get_stage() X-Ref |
| Gets the stage we are on return: int |
| get_stage_name() X-Ref |
| Gets the name of the stage we are on return: string |
| enforce_dependencies() X-Ref |
| Enforces dependencies on all settings. Call before save return: bool True if dependencies were enforced and changes were made |
| enforce_changed_dependencies() X-Ref |
| Returns true if enforce_dependencies changed any settings return: bool |
| load_controller($uniqueid = false) X-Ref |
| Loads the backup controller if we are tracking one param: string|bool $uniqueid return: backup_controller|false |
| cancel_process() X-Ref |
| Cancels the current backup/restore and redirects the user back to the relevant place |
| get_format() X-Ref |
| Gets the format for the backup return: int |
| get_type() X-Ref |
| Gets the type of the backup return: int |
| get_controller() X-Ref |
| Returns the controller object. return: backup_controller|restore_controller |
| get_controller_id() X-Ref |
| Gets the ID used in creating the controller. Relates to course/section/cm return: int |
| get_setting($name, $default = false) X-Ref |
| Gets the requested setting param: string $name param: bool $default return: mixed |
| get_setting_value($name, $default = false) X-Ref |
| Gets the value for the requested setting param: string $name param: bool $default return: mixed |
| Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |