Contents

System\Classes\UpdateManager\ManagesThemes


Public Methods

public downloadTheme()

public downloadTheme(string $name): void

downloadTheme downloads a theme from the update server.

public extractTheme()

public extractTheme($name): void

extractTheme extracts a theme after it has been downloaded.

public installTheme()

public installTheme($name): void

installTheme using composer

public requestThemeContent()

public requestThemeContent($name): array 

requestThemeContent looks up content for a theme from the update server

public requestThemeDetails()

public requestThemeDetails($name): array 

requestThemeDetails looks up a theme from the update server

public seedTheme()

public seedTheme($name): void

seedTheme seeds a theme blueprints, data and language files

public uninstallTheme()

public uninstallTheme($name): void

uninstallTheme attempts to remove the theme using composer before deleting from the filesystem

Protected Methods

protected findThemeComposerCode()

protected findThemeComposerCode($code): array 

findThemeComposerCode locates a composer code for a plugin