public function backup_file::info in Backup and Migrate 7.3
Same name and namespace in other branches
- 8.2 includes/files.inc \backup_file::info()
- 8.3 includes/files.inc \backup_file::info()
- 6.3 includes/files.inc \backup_file::info()
- 6.2 includes/files.inc \backup_file::info()
- 7.2 includes/files.inc \backup_file::info()
Get one or all pieces of info for the file.
1 call to backup_file::info()
- backup_file::transfer in 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
- includes/
files.inc, line 275 - 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
public function info($key = NULL) {
if ($key) {
return @$this->file_info[$key];
}
return $this->file_info;
}