function backup_migrate_destination_s3::get_bucket in Backup and Migrate 8.3
Same name and namespace in other branches
- 8.2 includes/destinations.s3.inc \backup_migrate_destination_s3::get_bucket()
- 6.3 includes/destinations.s3.inc \backup_migrate_destination_s3::get_bucket()
- 6.2 includes/destinations.s3.inc \backup_migrate_destination_s3::get_bucket()
- 7.3 includes/destinations.s3.inc \backup_migrate_destination_s3::get_bucket()
- 7.2 includes/destinations.s3.inc \backup_migrate_destination_s3::get_bucket()
Get the bucket which is the first part of the path.
5 calls to backup_migrate_destination_s3::get_bucket()
- backup_migrate_destination_s3::edit_form in includes/
destinations.s3.inc - Get the form for the settings for this filter.
- backup_migrate_destination_s3::load_file in includes/
destinations.s3.inc - Load from the s3 destination.
- backup_migrate_destination_s3::_delete_file in includes/
destinations.s3.inc - Delete from the s3 destination.
- backup_migrate_destination_s3::_list_files in includes/
destinations.s3.inc - List all files from the s3 destination.
- backup_migrate_destination_s3::_save_file in includes/
destinations.s3.inc - Save to to the s3 destination.
File
- includes/
destinations.s3.inc, line 143 - Functions to handle the s3 backup destination.
Class
- backup_migrate_destination_s3
- A destination for sending database backups to an s3 server.
Code
function get_bucket() {
$parts = explode('/', @$this->dest_url['path']);
return $parts[0];
}