function backup_migrate_destination::list_files in Backup and Migrate 7.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()
- 6.2 includes/destinations.inc \backup_migrate_destination::list_files()
- 7.3 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.
File
- includes/
destinations.inc, line 659
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();
$out = $this
->load_files_info($out);
if ($this->cache_files) {
$this
->file_cache_set($out);
}
}
return $out;
}