baserCMS クラスリファレンス

SiteConfigsServiceInterface

Interface SiteConfigsServiceInterface

Table of Contents

Methods

clearCache()  : mixed
キャッシュ用 Entity を削除
get()  : array<string|int, mixed>
データをキーバリュー形式で取得する
getModeList()  : array<string|int, mixed>
アプリケーションモードリストを取得
getValue()  : string|null
フィールドの値を取得する
getVersion()  : string
baserCMSのDBのバージョンを取得する
isWritableEnv()  : bool
putEnv()  : bool
resetValue()  : SiteConfig
サイト全体の設定値をリセットする
setValue()  : SiteConfig
サイト全体の設定値を更新する
update()  : EntityInterface
データをキーバリュー形式で保存する

Methods

get()

データをキーバリュー形式で取得する

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

getModeList()

アプリケーションモードリストを取得

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

getValue()

フィールドの値を取得する

public getValue( $fieldName) : string|null
Parameters
$fieldName :
Tags
checked
noTodo
unitTest
Return values
string|null

getVersion()

baserCMSのDBのバージョンを取得する

public getVersion() : string
Tags
checked
noTodo
unitTest
Return values
string

isWritableEnv()

public isWritableEnv() : bool

.env が書き込み可能かどうか

Tags
checked
noTodo
unitTest
Return values
bool

putEnv()

public putEnv( $key,  $value) : bool

.env に設定値を書き込む

Parameters
$key :
$value :
Tags
checked
noTodo
unitTest
Return values
bool

update()

データをキーバリュー形式で保存する

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

        
On this page

Search results