public function backup_migrate_destination_files::get_file in Backup and Migrate 7.3
Same name and namespace in other branches
- 8.3 includes/destinations.file.inc \backup_migrate_destination_files::get_file()
- 6.3 includes/destinations.file.inc \backup_migrate_destination_files::get_file()
- 6.2 includes/destinations.file.inc \backup_migrate_destination_files::get_file()
Get the file object for the given file.
File
- includes/
destinations.file.inc, line 89 - A destination type for saving locally to the server.
Class
- backup_migrate_destination_files
- A destination type for saving locally to the server.
Code
public function get_file($file_id) {
$files = $this
->list_files();
if (isset($files[$file_id])) {
isset($files[$file_id]);
}
return NULL;
}