Provides a utility object for reading and writing local backup files.
Hierarchy
- class BackupFile
Expanded class hierarchy of BackupFile
File
- core/
includes/ backup/ backup.file.inc, line 9 - Contains the BackupFile class.
Members
Name | Modifiers | Type | Description |
---|---|---|---|
BackupFile:: |
protected | property | |
BackupFile:: |
protected | property | |
BackupFile:: |
protected | property | |
BackupFile:: |
protected | property | |
BackupFile:: |
protected | property | |
BackupFile:: |
public | function | Get the backup name. |
BackupFile:: |
public | function | Clear the current log messages. |
BackupFile:: |
public | function | Close a file when we're done reading/writing. |
BackupFile:: |
public | function | Get the file directory; |
BackupFile:: |
public | function | Get the file extension. |
BackupFile:: |
public | function | Get the final filename. |
BackupFile:: |
public | function | Get the full current filepath. |
BackupFile:: |
public | function | Read the entire contents of the file. |
BackupFile:: |
public | function | Get the file size. |
BackupFile:: |
public | function | Return the array of current log messages. |
BackupFile:: |
public | function | Get the last file extension. |
BackupFile:: |
protected | function | Log any issues with reading or writing files. |
BackupFile:: |
public | function | Get the file mimetype. |
BackupFile:: |
public | function | Open a file for reading or writing. |
BackupFile:: |
public | function | Remove rom the extension list. |
BackupFile:: |
public | function | Add to the extension list. |
BackupFile:: |
public | function | Write the entire contents of the file. |
BackupFile:: |
public | function | Read a line from the file. |
BackupFile:: |
public | function | Write a line to the file. |
BackupFile:: |
public | function | Construct a file object used to save or load a backup from disk. |