Method | Description | |
---|---|---|
__construct ( Piwik\Translation\Translator $translator, |
||
getArchiveUrl ( string $version, boolean $https = true ) : string | ||
getLatestVersion ( ) : false | string | Returns the latest available version number. Does not perform a check whether a later version is available. | |
isNewVersionAvailable ( ) : boolean | ||
isUpdatingOverHttps ( ) : boolean | ||
updatePiwik ( boolean $https = true ) : string[] | Update Piwik codebase by downloading and installing the latest version. |
Method | Description | |
---|---|---|
decompressArchive ( $archiveFile ) | ||
disableIncompatiblePlugins ( $version ) | ||
downloadArchive ( $version, $url ) | ||
getIncompatiblePlugins ( $piwikVersion ) | ||
installNewFiles ( $extractedArchiveDirectory ) | ||
verifyDecompressedArchive ( $extractedArchiveDirectory ) |
public __construct ( Piwik\Translation\Translator $translator, |
||
$translator | Piwik\Translation\Translator | |
$releaseChannels |
public getLatestVersion ( ) : false | string | ||
return | false | string |
public updatePiwik ( boolean $https = true ) : string[] | ||
$https | boolean | Whether to use HTTPS if supported of not. If false, will use HTTP. |
return | string[] | Return an array of messages for the user. |