function backup_file::get_contents in Backup and Migrate 8.3
Same name and namespace in other branches
- 8.2 includes/files.inc \backup_file::get_contents()
- 6.3 includes/files.inc \backup_file::get_contents()
- 6.2 includes/files.inc \backup_file::get_contents()
- 7.3 includes/files.inc \backup_file::get_contents()
- 7.2 includes/files.inc \backup_file::get_contents()
Read data from the file.
File
- includes/
files.inc, line 417 - 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
function get_contents() {
return file_get_contents($this
->filepath());
}