PHP Class Piwik\Plugins\CoreUpdater\Controller

Inheritance: extends Piwik\Plugin\Controller
Exibir arquivo Open project: piwik/piwik Class Usage Examples

Public Methods

Method Description
__construct ( Updater $updater, Plugins $marketplacePlugins = null )
getUpdaterCss ( ) : string Return the base.less compiled to css
getUpdaterJs ( ) : string Return the base.less compiled to css
index ( )
isUpdatingOverHttps ( )
newVersionAvailable ( )
oneClickResults ( )
oneClickUpdate ( )
runUpdaterAndExit ( $doDryRun = null )

Protected Methods

Method Description
redirectToDashboardWhenNoError ( Updater $updater )

Private Methods

Method Description
checkNewVersionIsAvailableOrDie ( )
doExecuteUpdates ( $view, Updater $updater, $componentsWithUpdateFile )
doWelcomeUpdates ( $view, $componentsWithUpdateFile )
getIncompatiblePlugins ( $piwikVersion )

Method Details

__construct() public method

public __construct ( Updater $updater, Plugins $marketplacePlugins = null )
$updater Updater
$marketplacePlugins Piwik\Plugins\Marketplace\Plugins

getUpdaterCss() public method

Return the base.less compiled to css
public getUpdaterCss ( ) : string
return string

getUpdaterJs() public method

Return the base.less compiled to css
public getUpdaterJs ( ) : string
return string

index() public method

public index ( )

isUpdatingOverHttps() public static method

public static isUpdatingOverHttps ( )

newVersionAvailable() public method

public newVersionAvailable ( )

oneClickResults() public method

public oneClickResults ( )

oneClickUpdate() public method

public oneClickUpdate ( )

redirectToDashboardWhenNoError() protected method

protected redirectToDashboardWhenNoError ( Updater $updater )
$updater Piwik\Updater

runUpdaterAndExit() public method

public runUpdaterAndExit ( $doDryRun = null )