You are here

function backup_file::push_filetype in Backup and Migrate 6.3

Same name and namespace in other branches
  1. 8.2 includes/files.inc \backup_file::push_filetype()
  2. 8.3 includes/files.inc \backup_file::push_filetype()
  3. 6.2 includes/files.inc \backup_file::push_filetype()
  4. 7.3 includes/files.inc \backup_file::push_filetype()
  5. 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 499
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;
}