function backup_migrate_destination_files_scheduled::__construct in Backup and Migrate 6.3
Same name and namespace in other branches
- 8.2 includes/destinations.file.inc \backup_migrate_destination_files_scheduled::__construct()
- 8.3 includes/destinations.file.inc \backup_migrate_destination_files_scheduled::__construct()
- 6.2 includes/destinations.file.inc \backup_migrate_destination_files_scheduled::__construct()
- 7.3 includes/destinations.file.inc \backup_migrate_destination_files_scheduled::__construct()
- 7.2 includes/destinations.file.inc \backup_migrate_destination_files_scheduled::__construct()
Constructor, set the basic info pulled from the db or generated programatically.
Overrides backup_migrate_item::__construct
File
- includes/
destinations.file.inc, line 338 - A destination type for saving locally to the server.
Class
- backup_migrate_destination_files_scheduled
- The scheduled files directory.
Code
function __construct($params = array()) {
$dir = file_directory_path() . '/backup_migrate/scheduled';
parent::__construct($params + array(
'location' => $dir,
'name' => t('Scheduled Backups Directory'),
));
}