AutoUpdaterShopExcludedAjaxController
in package
Class AutoUpdaterShopExcludedAjaxController
Table of Contents
- $autoUpdater : AutoUpdater
- $dataCache : DataCache
- $exceptionDebugLog : array<string|int, mixed>
- $exceptionErrorPhrase : array<string|int, mixed>
- $exceptionState : array<string|int, mixed>
- $logControl : LogControl
- $queryBuilder : CI_DB_query_builder
- __construct() : mixed
- actionInstallUpdate() : mixed
- Installs a single update.
- actionRestoreBackup() : JsonHttpControllerResponse
- Restores a backup by a given id.
- createDebugLog() : mixed
- Creates a new debug log.
- getQueryBuilder() : CI_DB_query_builder
- Method depends on CodeIgniter database library
Properties
$autoUpdater
protected
AutoUpdater
$autoUpdater
$dataCache
protected
DataCache
$dataCache
$exceptionDebugLog
protected
array<string|int, mixed>
$exceptionDebugLog
= [AutoUpdaterBackupCreationFailedException::class => 'Backup creation failed', AutoUpdaterBackupRestoreFailedException::class => 'Backup restore failed', AutoUpdaterUpdateDownloadFailedException::class => 'Download of update file failed', AutoUpdaterMissingPermissionException::class => 'Missing file permissions', 'default' => 'Unexpected error']
$exceptionErrorPhrase
protected
array<string|int, mixed>
$exceptionErrorPhrase
= [AutoUpdaterBackupCreationFailedException::class => 'ajax_error_backup_creation_failed', AutoUpdaterBackupRestoreFailedException::class => 'ajax_error_backup_restore_failed', AutoUpdaterUpdateDownloadFailedException::class => 'ajax_error_update_download_failed', AutoUpdaterMissingPermissionException::class => 'ajax_error_missing_permissions', 'default' => 'ajax_error_unexpected_error']
$exceptionState
protected
array<string|int, mixed>
$exceptionState
= [AutoUpdaterBackupCreationFailedException::class => 'backup_creation_failed', AutoUpdaterBackupRestoreFailedException::class => 'backup_restore_failed', AutoUpdaterUpdateDownloadFailedException::class => 'update_download_failed', AutoUpdaterMissingPermissionException::class => 'permission_check_failed', 'default' => 'install_failed']
$logControl
protected
LogControl
$logControl
$queryBuilder
protected
CI_DB_query_builder
$queryBuilder
Methods
__construct()
public
__construct() : mixed
Return values
mixed —actionInstallUpdate()
Installs a single update.
public
actionInstallUpdate() : mixed
Return values
mixed —actionRestoreBackup()
Restores a backup by a given id.
public
actionRestoreBackup() : JsonHttpControllerResponse
Return values
JsonHttpControllerResponse —createDebugLog()
Creates a new debug log.
protected
createDebugLog(string $message[, string|array<string|int, mixed> $additionalData = '' ]) : mixed
Parameters
- $message : string
- $additionalData : string|array<string|int, mixed> = ''
Return values
mixed —getQueryBuilder()
Method depends on CodeIgniter database library
protected
getQueryBuilder() : CI_DB_query_builder