function backup_migrate_destination::list_files in Backup and Migrate 6.2
Same name and namespace in other branches
- 8.2 includes/destinations.inc \backup_migrate_destination::list_files()
- 8.3 includes/destinations.inc \backup_migrate_destination::list_files()
- 6.3 includes/destinations.inc \backup_migrate_destination::list_files()
- 7.3 includes/destinations.inc \backup_migrate_destination::list_files()
- 7.2 includes/destinations.inc \backup_migrate_destination::list_files()
List all the available files in the given destination with their destination specific id.
1 call to backup_migrate_destination::list_files()
- backup_migrate_destination::file_exists in includes/
destinations.inc - Check if a file exists in the given destination.
1 method overrides backup_migrate_destination::list_files()
- backup_migrate_destination_files::list_files in includes/
destinations.file.inc - File list destination callback.
File
- includes/
destinations.inc, line 635
Class
- backup_migrate_destination
- A base class for creating destinations.
Code
function list_files() {
$out = NULL;
if ($this->cache_files) {
$out = $this
->file_cache_get();
}
if ($out === NULL) {
$out = $this
->_list_files();
if ($this->cache_files) {
$this
->file_cache_set($out);
}
}
return $out;
}