\BackupAdminSettings
Synopsis
class BackupAdminSettings
extends DataObject
implements
TemplateGlobalProvider
{
- // methods
- public FieldList getCMSFields()
- private void getBackupsLinks()
- public static array get_template_global_variables()
- public Fieldset getCMSActions()
- public static BackupAdminSettings current_config()
- public static BackupAdminSettings make_current_config()
Hierarchy
Extends
- DataObject
Implements
- TemplateGlobalProvider
Tasks
Line | Task |
---|---|
115 |
Members
private
- $db
—
array
Set DB fields added for this class - $has_one
Methods
private
- getBackupsLinks() — Gets download links to the latest backups
public
- current_config() — Get the current sites BackupAdminSettings, and creates a new one through {@link make_current_config()} if none is found.
- getCMSActions() — Get the actions that are sent to the CMS.
- getCMSFields() — Returns the CMS fields for managing the backup settings.
- get_template_global_variables() — Add $BackupAdminSettings to all SSViewers Exposes this DataObject's propertise to global scope
- make_current_config() — Create BackupAdminSettings with defaults from language file.