function backup_file::push_filetype in Backup and Migrate 8.2
Same name and namespace in other branches
- 8.3 includes/files.inc \backup_file::push_filetype()
- 6.3 includes/files.inc \backup_file::push_filetype()
- 6.2 includes/files.inc \backup_file::push_filetype()
- 7.3 includes/files.inc \backup_file::push_filetype()
- 7.2 includes/files.inc \backup_file::push_filetype()
Set the current file type.
1 call to backup_file::push_filetype()
- backup_file::push_type in includes/
files.inc - Push a file extension onto the file and return the previous file path.
File
- includes/
files.inc, line 388 - 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 push_filetype($type) {
$this->ext[] = $type['extension'];
$this->type = $type;
}