|
| prepare ($bAuto=true, $bIgnoreVersionCheck=false) |
|
| getLatestVersionNumber () |
|
| getVersionUpdateInfo () |
|
| isNewVersionAvailable ($a) |
|
| isUpgradeAvailable ($a) |
|
| setTransientUpgradeCronJob ($sUnpackedPath) |
|
| getError () |
|
|
| downloadPatch ($a) |
|
| isPatchChecksumCorrect ($sPatchPath, $aVersionUpdateInfo) |
|
| unpackPatch ($sPatchPath) |
|
| checkFilesChecksums (&$fChangedFilesPercent) |
|
| isValidPatch ($sUnpackedPath, $aVersionUpdateInfo) |
|
| performCheck ($sUnpackedPath, $aVersionUpdateInfo) |
|
| setError ($s) |
|
| normalizeVersion ($s) |
|
| getTmpFolderFromZip ($sPatchPath) |
|
| deleteUpgradeFolder ($sPatchPath) |
|
| deleteUpgradePatch ($sPatchPath) |
|
|
| $_sUrlVersionCheck = 'https://v.unacms.com/' |
|
| $_sError = false |
|
| $oDb = null |
|
◆ prepare()
BxDolUpgrader::prepare |
( |
| $bAuto = true, |
|
|
| $bIgnoreVersionCheck = false ) |
Prepare for system upgrade. It prepares upgrade by downloading upgrade pack and performing different checks. After all check are successfully completed, transient cron job is set to run upgrade upon next cron run.
- Returns
- true if upgrade was successfully scheduled to run, or false on error (you can call
- See also
- getError to determine particular error message)
The documentation for this class was generated from the following file:
- inc/classes/BxDolUpgrader.php