ConfigurationController
extends BasicController
in package
Class ConfigurationController
Table of Contents
- $configurationService : ConfigurationServiceInterface
- $previewSettingsService : bool
- $styleEdit3ConfigurationService : StyleEdit3ConfigurationServiceInterface
- $themesList : null
- $requestedTheme : RequestedThemeInterface
- $theme : bool
- $themeService : null
- __clone() : BasicController
- __construct() : mixed
- configurationService() : ConfigurationServiceInterface
- delete() : mixed
- get() : mixed
- patch() : mixed
- post() : mixed
- put() : mixed
- requiresAuthentication() : bool
- styleEdit3ConfigurationService() : StyleEdit3ConfigurationService
- currentTheme() : CurrentThemeInterface|null
- currentThemeId() : string
- getThemesList() : ThemeConfigurationCollection
- outputJson() : string
- previewSettingsService() : bool|PreviewSettingsService|mixed|null
- themeConfiguration() : ConfigurationInterface
- themeService() : bool|StyleEditThemeService
- updateThemeList() : mixed
Properties
$configurationService
protected
ConfigurationServiceInterface
$configurationService
$previewSettingsService
protected
bool
$previewSettingsService
$styleEdit3ConfigurationService
protected
StyleEdit3ConfigurationServiceInterface
$styleEdit3ConfigurationService
$themesList
protected
null
$themesList
$requestedTheme
private
RequestedThemeInterface
$requestedTheme
$theme
private
bool
$theme
= false
$themeService
private
null
$themeService
Methods
__clone()
public
__clone() : BasicController
Return values
BasicController —__construct()
public
__construct([RequestedThemeInterface $requestedTheme = null ]) : mixed
Parameters
- $requestedTheme : RequestedThemeInterface = null
Return values
mixed —configurationService()
public
configurationService() : ConfigurationServiceInterface
Tags
Return values
ConfigurationServiceInterface —delete()
public
delete(array<string|int, mixed> $uri, $data) : mixed
Parameters
Return values
mixed —get()
public
get(array<string|int, mixed> $uri) : mixed
Parameters
- $uri : array<string|int, mixed>
Tags
Return values
mixed —patch()
public
patch(array<string|int, mixed> $uri, $data) : mixed
Parameters
Return values
mixed —post()
public
post(array<string|int, mixed> $uri, $data) : mixed
Parameters
Tags
Return values
mixed —put()
public
put(array<string|int, mixed> $uri, $data) : mixed
Parameters
Return values
mixed —requiresAuthentication()
public
requiresAuthentication() : bool
Return values
bool —styleEdit3ConfigurationService()
public
styleEdit3ConfigurationService() : StyleEdit3ConfigurationService
Tags
Return values
StyleEdit3ConfigurationService —currentTheme()
protected
currentTheme() : CurrentThemeInterface|null
Tags
Return values
CurrentThemeInterface|null —currentThemeId()
protected
currentThemeId() : string
Tags
Return values
string —getThemesList()
protected
getThemesList() : ThemeConfigurationCollection
Tags
Return values
ThemeConfigurationCollection —outputJson()
protected
outputJson(mixed $value) : string
Parameters
- $value : mixed
Return values
string —previewSettingsService()
protected
previewSettingsService() : bool|PreviewSettingsService|mixed|null
Tags
Return values
bool|PreviewSettingsService|mixed|null —themeConfiguration()
protected
themeConfiguration(string $themeId) : ConfigurationInterface
Parameters
- $themeId : string
Tags
Return values
ConfigurationInterface —themeService()
protected
themeService() : bool|StyleEditThemeService
Tags
Return values
bool|StyleEditThemeService —updateThemeList()
protected
updateThemeList() : mixed