You are here

function backup_migrate_destination::load_file in Backup and Migrate 8.2

Same name and namespace in other branches
  1. 8.3 includes/destinations.inc \backup_migrate_destination::load_file()
  2. 6.3 includes/destinations.inc \backup_migrate_destination::load_file()
  3. 6.2 includes/destinations.inc \backup_migrate_destination::load_file()
  4. 7.3 includes/destinations.inc \backup_migrate_destination::load_file()
  5. 7.2 includes/destinations.inc \backup_migrate_destination::load_file()

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

4 methods override backup_migrate_destination::load_file()
backup_migrate_destination_browser_upload::load_file in includes/destinations.browser.inc
File load destination callback.
backup_migrate_destination_files::load_file in includes/destinations.file.inc
File load destination callback.
backup_migrate_destination_ftp::load_file in includes/destinations.ftp.inc
Load from the ftp destination.
backup_migrate_destination_s3::load_file in includes/destinations.s3.inc
Load from the s3 destination.

File

includes/destinations.inc, line 620

Class

backup_migrate_destination
A base class for creating destinations.

Code

function load_file($file_id) {

  // This must be overriden.
  return NULL;
}