function backup_file::filename

cis7 files.inc backup_file::filename($name = NULL)
cle7 files.inc backup_file::filename($name = NULL)
elmsmedia7 files.inc backup_file::filename($name = NULL)
icor7 files.inc backup_file::filename($name = NULL)
meedjum_blog7 files.inc backup_file::filename($name = NULL)
mooc7 files.inc backup_file::filename($name = NULL)

Get the final filename.

3 calls to backup_file::filename()
backup_file::file_id in sites/all/modules/ulmus/backup_migrate/includes/files.inc
Get the file_id if the file has been saved to a destination.
backup_file::set_file_info in sites/all/modules/ulmus/backup_migrate/includes/files.inc
Set the file info.
backup_file::transfer in sites/all/modules/ulmus/backup_migrate/includes/files.inc
Transfer file using http to client. Similar to the built in file_transfer, but it calls module_invoke_all('exit') so that temp files can be deleted.

File

sites/all/modules/ulmus/backup_migrate/includes/files.inc, line 160
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 filename($name = NULL) {
  if ($name) {
    $this->name = $name;
  }
  return $this->name . '.' . $this->extension();
}