ThemeConfiguration
in package
implements
CurrentThemeInterface, JsonSerializable
Class ThemeConfiguration
Interfaces, Classes and Traits
- CurrentThemeInterface
- Interface CurrentThemeInterface
- JsonSerializable
Table of Contents
- $areas : ConfigurationCategory
- $author : string
- $basics : ConfigurationCategory
- $children : array<string|int, mixed>
- $colorPalette : array<string|int, mixed>
- $extendsOf : string|null
- $id : string
- $inherits : string
- $isActive : bool
- $isEditable : bool
- $isPreview : bool
- $isRemovable : bool
- $languages : array<string|int, mixed>
- $path : string
- $styles : ConfigurationCategory
- $thumbnail : string
- $title : string
- $version : string
- $isUpdatable : bool
- __construct() : mixed
- ThemeConfiguration constructor.
- areas() : ConfigurationCategory
- author() : string
- basics() : ConfigurationCategory
- children() : array<string|int, mixed>
- colorPalette() : array<string|int, mixed>
- extendsOf() : string|null
- id() : string
- inherits() : string
- isActive() : bool
- isEditable() : bool
- isPreview() : bool
- isRemovable() : bool
- isUpdatable() : bool
- jsonSerialize() : mixed
- Specify data which should be serialized to JSON
- languages() : array<string|int, mixed>
- parent() : BasicThemeInterface|null
- path() : string
- setToNotEditable() : $this
- styles() : ConfigurationCategory
- thumbnail() : string
- title() : string
- version() : string
Properties
$areas
protected
ConfigurationCategory
$areas
$author
protected
string
$author
= ''
$basics
protected
ConfigurationCategory
$basics
$children
protected
array<string|int, mixed>
$children
= []
$colorPalette
protected
array<string|int, mixed>
$colorPalette
$extendsOf
protected
string|null
$extendsOf
= ''
$id
protected
string
$id
= ''
$inherits
protected
string
$inherits
= ''
$isActive
protected
bool
$isActive
= false
$isEditable
protected
bool
$isEditable
= true
$isPreview
protected
bool
$isPreview
= false
$isRemovable
protected
bool
$isRemovable
$languages
protected
array<string|int, mixed>
$languages
= []
$path
protected
string
$path
= ''
$styles
protected
ConfigurationCategory
$styles
$thumbnail
protected
string
$thumbnail
= ''
$title
protected
string
$title
= ''
$version
protected
string
$version
= ''
$isUpdatable
private
bool
$isUpdatable
Methods
__construct()
ThemeConfiguration constructor.
public
__construct(string $id, string $title, string $thumbnail, string $author, string $version, string $extendsOf, string|null $inherit, bool $isPreview, bool $isEditable, bool $isRemovable, bool $isActive, array<string|int, mixed> $colorPalette, ConfigurationCategory $areas, ConfigurationCategory $basics, ConfigurationCategory $styles, array<string|int, mixed> $children, array<string|int, mixed> $languages, string $path, bool $isUpdatable) : mixed
Parameters
- $id : string
- $title : string
- $thumbnail : string
- $author : string
- $version : string
- $extendsOf : string
- $inherit : string|null
- $isPreview : bool
- $isEditable : bool
- $isRemovable : bool
- $isActive : bool
- $colorPalette : array<string|int, mixed>
- $areas : ConfigurationCategory
- $basics : ConfigurationCategory
- $styles : ConfigurationCategory
- $children : array<string|int, mixed>
- $languages : array<string|int, mixed>
- $path : string
- $isUpdatable : bool
Return values
mixed —areas()
public
areas() : ConfigurationCategory
Return values
ConfigurationCategory —author()
public
author() : string
Return values
string —basics()
public
basics() : ConfigurationCategory
Return values
ConfigurationCategory —children()
public
children() : array<string|int, mixed>
Return values
array<string|int, mixed> —colorPalette()
public
colorPalette() : array<string|int, mixed>
Return values
array<string|int, mixed> —extendsOf()
public
extendsOf() : string|null
Return values
string|null —id()
public
id() : string
Return values
string —inherits()
public
inherits() : string
Return values
string —isActive()
public
isActive() : bool
Return values
bool —isEditable()
public
isEditable() : bool
Return values
bool —isPreview()
public
isPreview() : bool
Return values
bool —isRemovable()
public
isRemovable() : bool
Return values
bool —isUpdatable()
public
isUpdatable() : bool
Return values
bool —jsonSerialize()
Specify data which should be serialized to JSON
public
jsonSerialize() : mixed
Tags
Return values
mixed —data which can be serialized by json_encode, which is a value of any type other than a resource.
languages()
public
languages() : array<string|int, mixed>
Return values
array<string|int, mixed> —parent()
public
parent() : BasicThemeInterface|null
Tags
Return values
BasicThemeInterface|null —path()
public
path() : string
Return values
string —setToNotEditable()
public
setToNotEditable() : $this
Return values
$this —styles()
public
styles() : ConfigurationCategory
Return values
ConfigurationCategory —thumbnail()
public
thumbnail() : string
Return values
string —title()
public
title() : string
Return values
string —version()
public
version() : string