function backup_migrate_destination::file_cache_set

nittany7 destinations.inc backup_migrate_destination::file_cache_set($files)
mooc7 destinations.inc backup_migrate_destination::file_cache_set($files)

Cache the file list.

2 calls to backup_migrate_destination::file_cache_set()
backup_migrate_destination::file_cache_clear in modules/contrib/backup_migrate/includes/destinations.inc
Retrieve the file list.
backup_migrate_destination::list_files in modules/contrib/backup_migrate/includes/destinations.inc
List all the available files in the given destination with their destination specific id.

File

modules/contrib/backup_migrate/includes/destinations.inc, line 727
All of the destination handling code needed for Backup and Migrate.

Class

backup_migrate_destination
A base class for creating destinations.

Code

function file_cache_set($files) {
  cache_set('backup_migrate_file_list:' . $this->get_id(), $files, 'cache', time() + $this->cache_expire);
}