phpDocumentor

ThemeController extends BasicController

Class ThemeController

Table of Contents

$previewSettingsService  : bool
$themeExtender  : ThemeExtenderService
$themesList  : null
$deleterService  : ThemeDeleterService
$importThemeService  : ImportThemeService
$requestedTheme  : RequestedThemeInterface
$stringParser  : StringParser
$theme  : bool
$themeService  : null
$uploadThemeService  : UploadThemeService
__clone()  : BasicController|void
__construct()  : mixed
ThemeController constructor.
createExtendedTheme()  : mixed
delete()  : mixed|void
get()  : mixed|void
patch()  : mixed|void
post()  : mixed|void
Duplicate a theme
put()  : mixed|void
Save some theme
requiresAuthentication()  : bool
additionalGoogleFonts()  : string
currentTheme()  : CurrentThemeInterface|null
currentThemeId()  : string
fontManager()  : GoogleFontManager
getImportThemeService()  : ImportThemeService
getStringParser()  : StringParser
getTheme()  : ThemeConfiguration
getThemesList()  : ThemeConfigurationCollection
getUploadThemeService()  : UploadThemeService
importThemeContent()  : void
outputJson()  : string
outputTheme()  : string
outputThemeList()  : string
previewSettingsService()  : bool|PreviewSettingsService|mixed|null
themeService()  : bool|StyleEditThemeService
updateThemeList()  : mixed

Properties

Methods

delete()

public delete(array<string|int, mixed> $uri,  $data) : mixed|void
Parameters
$uri : array<string|int, mixed>
$data :
Tags
throws
Exception
Return values
mixed|void

get()

public get(array<string|int, mixed> $uri) : mixed|void
Parameters
$uri : array<string|int, mixed>
Tags
throws
Exception
Return values
mixed|void

patch()

public patch(array<string|int, mixed> $uri,  $data) : mixed|void
Parameters
$uri : array<string|int, mixed>
$data :
Tags
throws
Exception
Return values
mixed|void

post()

Duplicate a theme

public post(array<string|int, mixed> $uri,  $data) : mixed|void
Parameters
$uri : array<string|int, mixed>
$data :
Tags
throws
Exception
Return values
mixed|void

put()

Save some theme

public put(array<string|int, mixed> $uri,  $data) : mixed|void
Parameters
$uri : array<string|int, mixed>
$data :
Tags
throws
Exception
Return values
mixed|void

requiresAuthentication()

public requiresAuthentication() : bool
Return values
bool

additionalGoogleFonts()

protected additionalGoogleFonts() : string
Return values
string

currentThemeId()

protected currentThemeId() : string
Tags
throws
Exception
Return values
string

fontManager()

protected fontManager(string $fontUrl) : GoogleFontManager
Parameters
$fontUrl : string
Return values
GoogleFontManager

importThemeContent()

protected importThemeContent( $themeId) : void
Parameters
$themeId :
Tags
throws
Exception
Return values
void

outputJson()

protected outputJson(mixed $value) : string
Parameters
$value : mixed
Return values
string

outputTheme()

protected outputTheme() : string
Tags
throws
Exception
Return values
string

outputThemeList()

protected outputThemeList() : string
Tags
throws
Exception
Return values
string

updateThemeList()

protected updateThemeList() : mixed
Return values
mixed

Search results