function backup_file::set_filetype in Backup and Migrate 6.3
Same name and namespace in other branches
- 8.2 includes/files.inc \backup_file::set_filetype()
- 8.3 includes/files.inc \backup_file::set_filetype()
- 6.2 includes/files.inc \backup_file::set_filetype()
- 7.3 includes/files.inc \backup_file::set_filetype()
- 7.2 includes/files.inc \backup_file::set_filetype()
Set the current file type.
File
- includes/
files.inc, line 491 - 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 set_filetype($type) {
$this->type = $type;
$this->ext = array(
$type['extension'],
);
}