function backup_file::file_id

cis7 files.inc backup_file::file_id()
cle7 files.inc backup_file::file_id()
elmsmedia7 files.inc backup_file::file_id()
icor7 files.inc backup_file::file_id()
meedjum_blog7 files.inc backup_file::file_id()
mooc7 files.inc backup_file::file_id()

Get the file_id if the file has been saved to a destination.

File

sites/all/modules/ulmus/backup_migrate/includes/files.inc, line 145
General file handling code for Backup and Migrate.

Class

backup_file
A backup file which allows for saving to and reading from the server.

Code

function file_id() {
  // The default file_id is the filename. Destinations can override the file_id if needed.
  return isset($this->file_info['file_id']) ? $this->file_info['file_id'] : $this->filename();
}