ExtensionDataHandler
Table of Contents
Methods
-
__construct()
: mixed
-
backup()
: string
-
cleanupBackups()
: int
-
dropTable()
: bool
-
getBackupPath()
: string
-
getTableRecordCount()
: int
-
listBackups()
: array<string|int, mixed>
-
restoreFromBackup()
: bool
__construct()
public
__construct() : mixed
backup()
public
backup(string $machineName, object $extension) : string
Parameters
-
$machineName
: string
-
-
$extension
: object
-
cleanupBackups()
public
cleanupBackups(string $machineName[, int $keep = 5 ]) : int
Parameters
-
$machineName
: string
-
-
$keep
: int
= 5
-
dropTable()
public
dropTable(string $table) : bool
Parameters
-
$table
: string
-
getBackupPath()
public
getBackupPath(string $machineName) : string
Parameters
-
$machineName
: string
-
getTableRecordCount()
public
getTableRecordCount(string $table) : int
Parameters
-
$table
: string
-
listBackups()
public
listBackups(string $machineName) : array<string|int, mixed>
Parameters
-
$machineName
: string
-
Return values
array<string|int, mixed>
restoreFromBackup()
public
restoreFromBackup(string $backupFile) : bool
Parameters
-
$backupFile
: string
-