function backup_migrate_destination::save_file in Backup and Migrate 6.2
Same name and namespace in other branches
- 8.2 includes/destinations.inc \backup_migrate_destination::save_file()
 - 8.3 includes/destinations.inc \backup_migrate_destination::save_file()
 - 6.3 includes/destinations.inc \backup_migrate_destination::save_file()
 - 7.3 includes/destinations.inc \backup_migrate_destination::save_file()
 - 7.2 includes/destinations.inc \backup_migrate_destination::save_file()
 
Save the given file to the destination.
5 methods override backup_migrate_destination::save_file()
- backup_migrate_destination_browser_download::save_file in includes/
destinations.browser.inc  - File save destination callback.
 - backup_migrate_destination_db::save_file in includes/
destinations.db.inc  - Save the info by importing it into the database.
 - backup_migrate_destination_email::save_file in includes/
destinations.email.inc  - Save to (ie. email the file) to the email destination.
 - backup_migrate_destination_files::save_file in includes/
destinations.file.inc  - File save destination callback.
 - backup_migrate_destination_nodesquirrel::save_file in includes/
destinations.nodesquirrel.inc  - Save to the NodeSquirrel destination.
 
File
- includes/
destinations.inc, line 601  
Class
- backup_migrate_destination
 - A base class for creating destinations.
 
Code
function save_file($file, $settings) {
  // This must be overriden.
  $this
    ->file_cache_clear();
  return $this
    ->_save_file($file, $settings);
}