phpDocumentor

StyleEditThemeService

Class ThemeService

Table of Contents

$previewSettingsRepository  : bool
$configuration  : StyleEditConfiguration
$configurationRepository  : ThemeConfigurationRepository
$publishedThemeRepository  : PublishedThemeRepository
$repository  : StyleEditThemeRepository
$themeInheritanceMapper  : ThemeInheritanceMapper
__clone()  : mixed
__construct()  : mixed
ThemeService constructor.
createPreviewFolder()  : string
duplicateTheme()  : ThemeConfiguration
exists()  : bool
getConfigurationById()  : ThemeConfiguration
initialize()  : mixed
loadThemeOverloadClasses()  : mixed
patch()  : void
prepareForReloading()  : void
previewSettingsRepository()  : bool|PreviewSettingsRepository|mixed
publishedThemeRepository()  : bool|PublishedThemeRepository|mixed
save()  : void
sortByActive()  : array<string|int, mixed>
updateThemeList()  : mixed
configurationRepository()  : ThemeConfigurationRepository
createTitleForDuplicateTheme()  : string
repository()  : StyleEditThemeRepository
saveContentManagerPages()  : void
saveSettings()  : void

Properties

Methods

createPreviewFolder()

public createPreviewFolder() : string
Tags
throws
Exception
Return values
string

exists()

public exists( $themeId) : bool
Parameters
$themeId :
Tags
throws
Exception
Return values
bool

initialize()

public initialize(string $themeId) : mixed
Parameters
$themeId : string
Tags
throws
Exception
Return values
mixed

patch()

public patch(string $themeId,  $data) : void
Parameters
$themeId : string
$data :
Tags
throws
Exception
Return values
void

prepareForReloading()

public prepareForReloading([bool $alwaysClearPublicTheme = false ]) : void
Parameters
$alwaysClearPublicTheme : bool = false
Tags
throws
Exception
Return values
void

sortByActive()

public sortByActive(array<string|int, mixed> $themes) : array<string|int, mixed>
Parameters
$themes : array<string|int, mixed>
Return values
array<string|int, mixed>

updateThemeList()

public updateThemeList() : mixed
Tags
throws
Exception
Return values
mixed

createTitleForDuplicateTheme()

protected createTitleForDuplicateTheme( $name) : string
Parameters
$name :
Tags
throws
Exception
Return values
string

Search results