System\Widgets\Updater

Overview

Updater widget

Extends

Public Properties

public string $alias

Defined alias used for this widget.

Show inherited public properties

Inherited Public Properties

Protected Properties

There are no protected properties in the class.

Show inherited protected properties

Inherited Protected Properties


Public Methods

public onApplyUpdates()

public onApplyUpdates(): void

onApplyUpdates runs the composer update process

public onCheckDependencies()

public onCheckDependencies(): void

onCheckDependencies for the system

public onCheckForUpdates()

public onCheckForUpdates(): void

onCheckForUpdates contacts the update server for a list of necessary updates.

public onExecuteStep()

public onExecuteStep(): void

onExecuteStep runs a specific update step

public onInstallDependencies()

public onInstallDependencies(): void

onInstallDependencies for the system

public onInstallPlugin()

public onInstallPlugin(): void

onInstallPlugin validates the plugin code and execute the plugin installation

public onInstallTheme()

public onInstallTheme(): void

onInstallTheme validates the theme code and execute the theme installation

public onLoadUpdates()

public onLoadUpdates(): void

onLoadUpdates spawns the update checker popup

public onRemovePlugin()

public onRemovePlugin(): void

onRemovePlugin removes an existing plugin

public onRemoveTheme()

public onRemoveTheme(): void

onRemoveTheme removes an existing theme

public onSyncProject()

public onSyncProject(): void

onSyncProject synchronizes plugin packages with local packages

public render()

public render(): string 

render renders the widget

public renderWarnings()

public renderWarnings(): string 

renderWarnings warnings provided by the updater

Show inherited public methods

Inherited Public Methods

Protected Methods

protected clearMetaCache()

protected clearMetaCache(): void

clearMetaCache will clear the system meta files that may cause a system crash if the non-existent classes are referenced.

protected loadAssets()

protected loadAssets(): void

loadAssets adds widget specific asset files. Use $this->addJs() and $this->addCss() to register new assets to include on the page.

protected prewarmSystem()

protected prewarmSystem(): void

protected processImportantUpdates()

protected processImportantUpdates($result): array 

processImportantUpdates loops the update list and checks for actionable updates

protected processUpdateLists()

protected processUpdateLists($result): array 

processUpdateLists reverses the update lists for the core and all plugins.

Show inherited protected methods

Inherited Protected Methods