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();
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.