\ManiaControl\FilesBackupUtil

Backup Utility Class

Summary

Methods
Properties
Constants
performFullBackup()
performPluginsBackup()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
getBackupFolder()
zipDirectory()
No private properties found
N/A

Methods

performFullBackup()

performFullBackup() : boolean

Perform a Full Backup of ManiaControl

Returns

boolean

performPluginsBackup()

performPluginsBackup() : boolean

Perform a Backup of the Plugins

Returns

boolean

getBackupFolder()

getBackupFolder() : string|boolean

Get the Backup Folder Path and create it if necessary

Returns

string|boolean

zipDirectory()

zipDirectory(\ZipArchive  $zipArchive, string  $folderName, integer  $prefixLength, array  $excludes = array(), array  $baseFileNames = array()) : boolean

Add a Directory to the ZipArchive

Parameters

\ZipArchive $zipArchive
string $folderName
integer $prefixLength
array $excludes
array $baseFileNames

Returns

boolean