function backup_migrate_destination::file_exists

cis7 destinations.inc backup_migrate_destination::file_exists($file_id)
cle7 destinations.inc backup_migrate_destination::file_exists($file_id)
elmsmedia7 destinations.inc backup_migrate_destination::file_exists($file_id)
icor7 destinations.inc backup_migrate_destination::file_exists($file_id)
meedjum_blog7 destinations.inc backup_migrate_destination::file_exists($file_id)
mooc7 destinations.inc backup_migrate_destination::file_exists($file_id)

Check if a file exists in the given destination.

File

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

Class

backup_migrate_destination
A base class for creating destinations.

Code

function file_exists($file_id) {
  // Check if the file exists in the list of available files. Actual destination types may have more efficient ways of doing this.
  $files = $this->list_files();
  return isset($files[$file_id]);
}