ExportController
extends BasicController
in package
Class ExportController
Table of Contents
- $exportService : ExportService
- $previewSettingsService : bool
- $themeId : string
- $themesList : null
- $requestedTheme : RequestedThemeInterface
- $theme : bool
- $themeService : null
- __clone() : BasicController
- __construct() : mixed
- delete() : mixed
- get() : mixed
- Copies a theme and bundles all required files ( e.g. images ) into the theme and changes required paths
- patch() : mixed
- post() : mixed
- put() : mixed
- requiresAuthentication() : bool
- currentTheme() : CurrentThemeInterface|null
- currentThemeId() : string
- executeFileDownloadResponse() : void
- exportService() : ExportService
- getThemesList() : ThemeConfigurationCollection
- init() : void
- outputJson() : string
- previewSettingsService() : bool|PreviewSettingsService|mixed|null
- slim() : App
- themeService() : bool|StyleEditThemeService
- updateThemeList() : mixed
Properties
$exportService
protected
ExportService
$exportService
$previewSettingsService
protected
bool
$previewSettingsService
$themeId
protected
string
$themeId
$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 —delete()
public
delete(array<string|int, mixed> $uri, $data) : mixed
Parameters
Return values
mixed —get()
Copies a theme and bundles all required files ( e.g. images ) into the theme and changes required paths
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
Return values
mixed —put()
public
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 —executeFileDownloadResponse()
protected
executeFileDownloadResponse(string $filepath) : void
Parameters
- $filepath : string
Tags
Return values
void —exportService()
protected
exportService() : ExportService
Tags
Return values
ExportService —getThemesList()
protected
getThemesList() : ThemeConfigurationCollection
Tags
Return values
ThemeConfigurationCollection —init()
protected
init(array<string|int, mixed> $uri) : void
Parameters
- $uri : array<string|int, mixed>
Tags
Return values
void —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 —slim()
protected
slim() : App
Tags
Return values
App —themeService()
protected
themeService() : bool|StyleEditThemeService
Tags
Return values
bool|StyleEditThemeService —updateThemeList()
protected
updateThemeList() : mixed