function backup_migrate_destination::can_read_file

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

Determine if we can read the given file.

1 call to backup_migrate_destination::can_read_file()
backup_migrate_destination::get_file_links in sites/all/modules/ulmus/backup_migrate/includes/destinations.inc
Get the action links for a file on a given destination.
1 method overrides backup_migrate_destination::can_read_file()
backup_migrate_destination_files::can_read_file in sites/all/modules/ulmus/backup_migrate/includes/destinations.file.inc
Determine if we can read the given file.

File

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

Class

backup_migrate_destination
A base class for creating destinations.

Code

function can_read_file($file_id) {
  return $this->op('restore');
}
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.