function backup_migrate_destination::load_file

nittany7 destinations.inc backup_migrate_destination::load_file($file_id)
mooc7 destinations.inc backup_migrate_destination::load_file($file_id)

Load the file with the given destination specific id and return as a backup_file object.

5 methods override backup_migrate_destination::load_file()
backup_migrate_destination_browser_upload::load_file in modules/contrib/backup_migrate/includes/destinations.browser.inc
File load destination callback.
backup_migrate_destination_files::load_file in modules/contrib/backup_migrate/includes/destinations.file.inc
File load destination callback.
backup_migrate_destination_ftp::load_file in modules/contrib/backup_migrate/includes/destinations.ftp.inc
Load from the ftp destination.
backup_migrate_destination_nodesquirrel::load_file in modules/contrib/backup_migrate/includes/destinations.nodesquirrel.inc
Load from the NodeSquirrel destination.
backup_migrate_destination_s3::load_file in modules/contrib/backup_migrate/includes/destinations.s3.inc
Load from the s3 destination.

File

modules/contrib/backup_migrate/includes/destinations.inc, line 642
All of the destination handling code needed for Backup and Migrate.

Class

backup_migrate_destination
A base class for creating destinations.

Code

function load_file($file_id) {
  // This must be overriden.
  return NULL;
}