Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
setBackupExtension ($backupExtension) | |
getBackupExtension () | |
setResourceModel ($resourceModel) | |
getResourceModel () | |
setTime ($time) | |
getTime () | |
setRootDir ($rootDir) | |
getRootDir () | |
setBackupsDir ($backupsDir) | |
getBackupsDir () | |
getBackupPath () | |
getBackupFilename () | |
getIsSuccess () | |
getErrorMessage () | |
setErrorMessage ($errorMessage) | |
setName ($name, $applyFilter=true) | |
getName () | |
getDisplayName () | |
keepSourceFile () | |
setKeepSourceFile (bool $keepSourceFile) | |
![]() | |
create () | |
rollback () | |
getType () | |
Protected Member Functions | |
_filterName ($name) | |
Protected Attributes | |
$_name | |
$_time | |
$_backupExtension | |
$_resourceModel | |
$_rootDir | |
$_backupsDir | |
$_lastOperationSucceed = false | |
$_lastErrorMessage | |
|
protected |
Removes disallowed characters and replaces spaces with underscores
string | $name |
Definition at line 302 of file AbstractBackup.php.
getBackupExtension | ( | ) |
Get Backup Extension
Definition at line 99 of file AbstractBackup.php.
getBackupFilename | ( | ) |
Get backup file name
Definition at line 213 of file AbstractBackup.php.
getBackupPath | ( | ) |
Get path to backup
Definition at line 203 of file AbstractBackup.php.
getBackupsDir | ( | ) |
Get path to directory where backups stored
Definition at line 193 of file AbstractBackup.php.
getDisplayName | ( | ) |
getErrorMessage | ( | ) |
Get last error message
Definition at line 244 of file AbstractBackup.php.
getIsSuccess | ( | ) |
Check whether last operation completed successfully
Definition at line 234 of file AbstractBackup.php.
getName | ( | ) |
getResourceModel | ( | ) |
Get Resource Model
Definition at line 121 of file AbstractBackup.php.
getRootDir | ( | ) |
getTime | ( | ) |
keepSourceFile | ( | ) |
Check if keep files of backup
Implements SourceFileInterface.
Definition at line 316 of file AbstractBackup.php.
setBackupExtension | ( | $backupExtension | ) |
Set Backup Extension
string | $backupExtension |
Implements BackupInterface.
Definition at line 88 of file AbstractBackup.php.
setBackupsDir | ( | $backupsDir | ) |
Set path to directory where backups stored
string | $backupsDir |
Implements BackupInterface.
Definition at line 182 of file AbstractBackup.php.
setErrorMessage | ( | $errorMessage | ) |
Set error message
string | $errorMessage |
Definition at line 255 of file AbstractBackup.php.
setKeepSourceFile | ( | bool | $keepSourceFile | ) |
Set if keep files of backup
bool | $keepSourceFile |
Implements SourceFileInterface.
Definition at line 327 of file AbstractBackup.php.
setName | ( | $name, | |
$applyFilter = true |
|||
) |
Set backup name
string | $name | |
bool | $applyFilter |
Definition at line 267 of file AbstractBackup.php.
setResourceModel | ( | $resourceModel | ) |
Set Resource Model
object | $resourceModel |
Implements BackupInterface.
Definition at line 110 of file AbstractBackup.php.
setRootDir | ( | $rootDir | ) |
Set root directory of Magento installation
string | $rootDir |
LocalizedException |
Definition at line 155 of file AbstractBackup.php.
setTime | ( | $time | ) |
Set Time
int | $time |
Implements BackupInterface.
Definition at line 132 of file AbstractBackup.php.
|
protected |
Definition at line 38 of file AbstractBackup.php.
|
protected |
Definition at line 59 of file AbstractBackup.php.
|
protected |
Definition at line 73 of file AbstractBackup.php.
|
protected |
Definition at line 66 of file AbstractBackup.php.
|
protected |
Definition at line 24 of file AbstractBackup.php.
|
protected |
Definition at line 45 of file AbstractBackup.php.
|
protected |
Definition at line 52 of file AbstractBackup.php.
|
protected |
Definition at line 31 of file AbstractBackup.php.