function backup_migrate_destination_files::get_filepath in Backup and Migrate 6.2
Same name and namespace in other branches
- 8.2 includes/destinations.file.inc \backup_migrate_destination_files::get_filepath()
- 8.3 includes/destinations.file.inc \backup_migrate_destination_files::get_filepath()
- 6.3 includes/destinations.file.inc \backup_migrate_destination_files::get_filepath()
- 7.3 includes/destinations.file.inc \backup_migrate_destination_files::get_filepath()
- 7.2 includes/destinations.file.inc \backup_migrate_destination_files::get_filepath()
Get the filepath from the given file id.
3 calls to backup_migrate_destination_files::get_filepath()
- backup_migrate_destination_files::can_read_file in includes/
destinations.file.inc - Determine if we can read the given file.
- backup_migrate_destination_files::delete_file in includes/
destinations.file.inc - File delete destination callback.
- backup_migrate_destination_files::load_file in includes/
destinations.file.inc - File load destination callback.
File
- includes/
destinations.file.inc, line 104 - A destination type for saving locally to the server.
Class
- backup_migrate_destination_files
- A destination type for saving locally to the server.
Code
function get_filepath($file_id) {
$filepath = rtrim($this
->get_location(), '/') . '/' . $file_id;
return $filepath;
}