function backup_file::pop_type in Backup and Migrate 6.3
Same name and namespace in other branches
- 8.2 includes/files.inc \backup_file::pop_type()
- 8.3 includes/files.inc \backup_file::pop_type()
- 6.2 includes/files.inc \backup_file::pop_type()
- 7.3 includes/files.inc \backup_file::pop_type()
- 7.2 includes/files.inc \backup_file::pop_type()
Push a file extension onto the file and return the previous file path.
File
- includes/
files.inc, line 481 - 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 pop_type() {
$out = new backup_file(array(
'filepath' => $this
->filepath(),
));
$this
->pop_filetype();
$this
->temporary_file();
return $out;
}