function backup_migrate_destination::save_file

cis7 destinations.inc backup_migrate_destination::save_file($file, $settings)
cle7 destinations.inc backup_migrate_destination::save_file($file, $settings)
elmsmedia7 destinations.inc backup_migrate_destination::save_file($file, $settings)
icor7 destinations.inc backup_migrate_destination::save_file($file, $settings)
meedjum_blog7 destinations.inc backup_migrate_destination::save_file($file, $settings)
mooc7 destinations.inc backup_migrate_destination::save_file($file, $settings)

Save the given file to the destination.

4 methods override backup_migrate_destination::save_file()
backup_migrate_destination_browser_download::save_file in sites/all/modules/ulmus/backup_migrate/includes/destinations.browser.inc
File save destination callback.
backup_migrate_destination_db::save_file in sites/all/modules/ulmus/backup_migrate/includes/destinations.db.inc
Save the info by importing it into the database.
backup_migrate_destination_email::save_file in sites/all/modules/ulmus/backup_migrate/includes/destinations.email.inc
Save to (ie. email the file) to the email destination.
backup_migrate_destination_nodesquirrel::save_file in sites/all/modules/ulmus/backup_migrate/includes/destinations.nodesquirrel.inc
Save to the NodeSquirrel destination.

File

sites/all/modules/ulmus/backup_migrate/includes/destinations.inc, line 613
All of the destination handling code needed for Backup and Migrate.

Class

backup_migrate_destination
A base class for creating destinations.

Code

function save_file($file, $settings) {
  // This must be overriden.
  $this->file_cache_clear();

  // Save the file metadata if the destination supports it.
  $this->save_file_info($file, $settings);
  return $this->_save_file($file, $settings);
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.