baserCMS クラスリファレンス

ThemesServiceInterface

ThemesServiceInterface

Table of Contents

Methods

add()  : string
新しいテーマをアップロードする
apply()  : array<string|int, mixed>
テーマを適用する
copy()  : bool
コピーする
createDownloadToTmp()  : string
指定したテーマをダウンロード用のテーマとして一時フォルダに作成する
delete()  : bool
削除する
get()  : EntityInterface
単一データ取得
getIndex()  : array<string|int, mixed>
一覧データ取得
getMarketThemes()  : array<string|int, mixed>
baserマーケットのテーマ一覧を取得する
loadDefaultDataPattern()  : bool
初期データを読み込む

Methods

add()

新しいテーマをアップロードする

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

apply()

テーマを適用する

public apply(Site $site, string $theme) : array<string|int, mixed>
Parameters
$site : Site
$theme : string
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>

copy()

コピーする

public copy(string $theme) : bool
Parameters
$theme : string
Tags
checked
noTodo
unitTest
Return values
bool

createDownloadToTmp()

指定したテーマをダウンロード用のテーマとして一時フォルダに作成する

public createDownloadToTmp(string $theme) : string
Parameters
$theme : string
Tags
checked
unitTest
noTodo
Return values
string

delete()

削除する

public delete(string $theme) : bool
Parameters
$theme : string
Tags
checked
noTodo
unitTest
Return values
bool

get()

単一データ取得

public get(string $theme) : EntityInterface
Parameters
$theme : string
Tags
checked
noTodo
unitTest
Return values
EntityInterface

getIndex()

一覧データ取得

public getIndex() : array<string|int, mixed>
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>

getMarketThemes()

baserマーケットのテーマ一覧を取得する

public getMarketThemes() : array<string|int, mixed>
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>

loadDefaultDataPattern()

初期データを読み込む

public loadDefaultDataPattern(string $currentTheme, string $dbDataPattern) : bool
Parameters
$currentTheme : string
$dbDataPattern : string
Tags
checked
noTodo
unitTest
Return values
bool

        
On this page

Search results