PHP Class Pimcore\Update

Show file Open project: pimcore/pimcore Class Usage Examples

Public Properties

Property Type Description
$dryRun boolean
$tmpTable string
$updateHost string

Public Methods

Method Description
cleanup ( )
clearOPCaches ( )
composerDumpAutoload ( ) : array
downloadData ( $revision, $url )
executeScript ( $revision, $type ) : array
getAvailableUpdates ( null $currentRev = null ) : array
getJobs ( $toRevision, null $currentRev = null ) : array
installComposerJson ( $newFile, $oldFile )
installData ( $revision )
isComposerAvailable ( ) : boolean
isWriteable ( ) : boolean
updateMaxmindDb ( )

Method Details

cleanup() public static method

public static cleanup ( )

clearOPCaches() public static method

public static clearOPCaches ( )

composerDumpAutoload() public static method

public static composerDumpAutoload ( ) : array
return array

downloadData() public static method

public static downloadData ( $revision, $url )
$revision
$url

executeScript() public static method

public static executeScript ( $revision, $type ) : array
$revision
$type
return array

getAvailableUpdates() public static method

public static getAvailableUpdates ( null $currentRev = null ) : array
$currentRev null
return array

getJobs() public static method

public static getJobs ( $toRevision, null $currentRev = null ) : array
$toRevision
$currentRev null
return array

installComposerJson() public static method

public static installComposerJson ( $newFile, $oldFile )
$newFile
$oldFile

installData() public static method

public static installData ( $revision )
$revision

isComposerAvailable() public static method

public static isComposerAvailable ( ) : boolean
return boolean

isWriteable() public static method

public static isWriteable ( ) : boolean
return boolean

updateMaxmindDb() public static method

public static updateMaxmindDb ( )

Property Details

$dryRun public static property

public static bool $dryRun
return boolean

$tmpTable public static property

public static string $tmpTable
return string

$updateHost public static property

public static string $updateHost
return string