ThemeConfigsService
in package
implements
ThemeConfigsServiceInterface
ThemeConfigsService
Interfaces, Classes, Traits and Enums
- ThemeConfigsServiceInterface
- ThemeConfigsServiceInterface
Table of Contents
- $entity : ThemeConfig
- キャッシュ用 Entity
- __construct() : mixed
- constructor.
- clearCache() : mixed
- キャッシュ用 Entity を削除
- deleteImage() : EntityInterface
- 画像を削除する
- get() : ThemeConfig|EntityInterface
- テーマ設定を取得
- saveImage() : EntityInterface
- 画像を保存する
- update() : ThemeConfig|EntityInterface|false
- テーマ設定を更新する
- updateColorConfig() : bool
- テーマカラー設定を保存する
Properties
$entity
キャッシュ用 Entity
protected
ThemeConfig
$entity
Methods
__construct()
constructor.
public
__construct() : mixed
Tags
Return values
mixed —clearCache()
キャッシュ用 Entity を削除
public
clearCache() : mixed
Tags
Return values
mixed —deleteImage()
画像を削除する
public
deleteImage(EntityInterface $entity) : EntityInterface
Parameters
- $entity : EntityInterface
Tags
Return values
EntityInterface —get()
テーマ設定を取得
public
get() : ThemeConfig|EntityInterface
Tags
Return values
ThemeConfig|EntityInterface —saveImage()
画像を保存する
public
saveImage(EntityInterface $entity) : EntityInterface
Parameters
- $entity : EntityInterface
Tags
Return values
EntityInterface —update()
テーマ設定を更新する
public
update(array<string|int, mixed> $postData) : ThemeConfig|EntityInterface|false
Parameters
- $postData : array<string|int, mixed>
Tags
Return values
ThemeConfig|EntityInterface|false —updateColorConfig()
テーマカラー設定を保存する
public
updateColorConfig(EntityInterface $entity) : bool
Parameters
- $entity : EntityInterface