Properties

$step

$step : 

Type

$error

$error : 

Type

$result

$result : 

Type

$currentStepTitle

$currentStepTitle : 

Type

$archiveURL

$archiveURL : 

Type

$archiveHash

$archiveHash : 

Type

$archiveHashMethod

$archiveHashMethod : 

Type

$markedFiles

$markedFiles : 

Type

$debugMode

$debugMode : 

Type

$cleanFile

$cleanFile : 

Type

$additionalScript

$additionalScript : 

Type

$stepTriggerPrefix

$stepTriggerPrefix : 

Type

$releaseNote

$releaseNote : 

Type

$htmlInstructions

$htmlInstructions : 

Type

$dbUpgrade

$dbUpgrade : 

Type

$installPath

$installPath : 

Type

$context

$context : 

Type

$archive

$archive : 

Type

$workingFolder

$workingFolder : 

Type

$steps

$steps : 

Type

Methods

__construct()

__construct(  $archiveURL,   $hash,   $method, array  $backupFiles = array()) 

UpgradeManager constructor.

Parameters

$archiveURL
$hash
$method
array $backupFiles

configureProxy()

configureProxy(  $proxyHost,   $proxyUser,   $proxyPass, string  $siteUser = "", string  $sitePass = "") 

Parameters

$proxyHost
$proxyUser
$proxyPass
string $siteUser
string $sitePass

getContext()

getContext() : null

Returns

null

getUpgradePath()

getUpgradePath(  $url, string  $format = "php", string  $channel = "stable") : boolean|mixed|string

Parameters

$url
string $format
string $channel

Returns

boolean|mixed|string

hasNextStep()

hasNextStep() : boolean

Returns

boolean

execute()

execute() 

testUpgradeScripts()

testUpgradeScripts() 

checkDownloadFolder()

checkDownloadFolder() : string

Throws

\Exception

Returns

string

checkTargetFolder()

checkTargetFolder() : string

Throws

\Exception

Returns

string

downloadArchive()

downloadArchive() : string

Throws

\Exception

Returns

string

extractArchive()

extractArchive() : string

Throws

\Exception

Returns

string

checkArchiveIntegrity()

checkArchiveIntegrity() : string

Throws

\Exception

Returns

string

backupMarkedFiles()

backupMarkedFiles() : string

Returns

string

copyCodeFiles()

copyCodeFiles() : string

Returns

string

restoreMarkedFiles()

restoreMarkedFiles() : string

Returns

string

duplicateConfFiles()

duplicateConfFiles() : string

Returns

string

cleanUnusedFiles()

cleanUnusedFiles() : string

Returns

string

upgradeDB()

upgradeDB() : string

Throws

\Exception

Returns

string

specificTask()

specificTask() : string

Returns

string

updateVersion()

updateVersion() : string

Returns

string

clearCache()

clearCache() : string

Returns

string

displayNote()

displayNote() : string

Returns

string

displayUpgradeInstructions()

displayUpgradeInstructions() : string

Returns

string

migrateMetaSerialPlugin()

migrateMetaSerialPlugin(\Pydio\Core\Model\ContextInterface  $ctx, string  $repositoryId, boolean  $dryRun) 

Parameters

\Pydio\Core\Model\ContextInterface $ctx
string $repositoryId
boolean $dryRun

Throws

\Exception

copy_r()

copy_r(  $path,   $dest) : boolean

Parameters

$path
$dest

Returns

boolean

executeStepTrigger()

executeStepTrigger(  $stepName, string  $trigger = "pre") : string

Parameters

$stepName
string $trigger

Returns

string