baserCMS クラスリファレンス

ThemeConfigsService
in package
implements ThemeConfigsServiceInterface

ThemeConfigsService

Table of Contents

Interfaces

ThemeConfigsServiceInterface
ThemeConfigsServiceInterface

Properties

$ThemeConfigs  : ThemeConfigsTable|Table
ThemeConfigs Table
$entity  : ThemeConfig
キャッシュ用 Entity

Methods

__construct()  : mixed
constructor.
clearCache()  : mixed
キャッシュ用 Entity を削除
deleteImage()  : EntityInterface
画像を削除する
get()  : ThemeConfig|EntityInterface
テーマ設定を取得
saveImage()  : EntityInterface
画像を保存する
update()  : ThemeConfig|EntityInterface|false
テーマ設定を更新する
updateColorConfig()  : bool
テーマカラー設定を保存する

Properties

Methods

__construct()

constructor.

public __construct() : mixed
Tags
checked
noTodo
unitTest

clearCache()

キャッシュ用 Entity を削除

public clearCache() : mixed
Tags
checked
noTodo
unitTest

deleteImage()

画像を削除する

public deleteImage(EntityInterface $entity) : EntityInterface
Parameters
$entity : EntityInterface
Tags
noTodo
checked
unitTest
Return values
EntityInterface

saveImage()

画像を保存する

public saveImage(EntityInterface $entity) : EntityInterface
Parameters
$entity : EntityInterface
Tags
noTodo
checked
unitTest
Return values
EntityInterface

update()

テーマ設定を更新する

public update(array<string|int, mixed> $postData) : ThemeConfig|EntityInterface|false
Parameters
$postData : array<string|int, mixed>
Tags
noTodo
checked
unitTest
Return values
ThemeConfig|EntityInterface|false

updateColorConfig()

テーマカラー設定を保存する

public updateColorConfig(EntityInterface $entity) : bool
Parameters
$entity : EntityInterface
Tags
noTodo
checked
unitTest
Return values
bool

        
On this page

Search results