BasicController
in package
Class BasicElementController
Table of Contents
- $previewSettingsService : bool
- $themesList : null
- $requestedTheme : RequestedThemeInterface
- $theme : bool
- $themeService : null
- __clone() : BasicController
- __construct() : mixed
- delete() : mixed
- get() : mixed
- patch() : mixed
- post() : mixed
- put() : mixed
- requiresAuthentication() : bool
- currentTheme() : CurrentThemeInterface|null
- currentThemeId() : string
- getThemesList() : ThemeConfigurationCollection
- outputJson() : string
- previewSettingsService() : bool|PreviewSettingsService|mixed|null
- themeService() : bool|StyleEditThemeService
- updateThemeList() : mixed
Properties
$previewSettingsService
protected
bool
$previewSettingsService
$themesList
protected
null
$themesList
$requestedTheme
private
RequestedThemeInterface
$requestedTheme
$theme
private
bool
$theme
= false
$themeService
private
null
$themeService
Methods
__clone()
public
abstract __clone() : BasicController
Return values
BasicController —__construct()
public
__construct([RequestedThemeInterface $requestedTheme = null ]) : mixed
Parameters
- $requestedTheme : RequestedThemeInterface = null
Return values
mixed —delete()
public
abstract delete(array<string|int, mixed> $uri, $data) : mixed
Parameters
Return values
mixed —get()
public
abstract get(array<string|int, mixed> $uri) : mixed
Parameters
- $uri : array<string|int, mixed>
Return values
mixed —patch()
public
abstract patch(array<string|int, mixed> $uri, $data) : mixed
Parameters
Return values
mixed —post()
public
abstract post(array<string|int, mixed> $uri, $data) : mixed
Parameters
Return values
mixed —put()
public
abstract put(array<string|int, mixed> $uri, $data) : mixed
Parameters
Return values
mixed —requiresAuthentication()
public
requiresAuthentication() : bool
Return values
bool —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 —themeService()
protected
themeService() : bool|StyleEditThemeService
Tags
Return values
bool|StyleEditThemeService —updateThemeList()
protected
updateThemeList() : mixed