baserCMS クラスリファレンス

ThemeFilesAdminService extends ThemeFilesService
in package
implements ThemeFilesAdminServiceInterface Uses BcContainerTrait

ThemeFilesAdminService

Table of Contents

Interfaces

ThemeFilesAdminServiceInterface
ThemeFilesAdminServiceInterface

Properties

$ThemeFileForm  : ThemeFileForm
ThemeFile Form
$ThemeFileForm  : ThemeFileForm
$_tempalteTypes  : array<string|int, mixed>
テーマファイルタイプ

Methods

__construct()  : mixed
Constructor
copy()  : ThemeFile|false
コピー
copyToTheme()  : array<string|int, mixed>|false|string|array<string|int, string>
現在のテーマにファイルをコピー
create()  : ThemeFileForm
テーマファイルを作成
delete()  : bool
テーマファイルを削除
get()  : ThemeFile
単一データ取得
getForm()  : ThemeFileForm
フォームを取得
getFullpath()  : string
fullpathを作成
getImg()  : array<string|int, mixed>
テーマ内のイメージデータを取得する
getImgThumb()  : array<string|int, mixed>
テーマ内の画像のサムネイルイメージのデータを取得する
getNew()  : ThemeFile
テーマファイルの初期値を取得
getService()  : array<string|int, mixed>|mixed|object
Get Service
getViewVarsForAdd()  : array<string|int, mixed>
テーマファイル新規登録画面用の View 変数を取得する
getViewVarsForEdit()  : array<string|int, mixed>
テーマファイル編集画面用の View 変数を取得する
getViewVarsForIndex()  : array<string|int, mixed>
テーマファイル一覧用の View 変数を取得する
getViewVarsForView()  : array<string|int, mixed>
テーマファイル表示画面用の View 変数を取得する
hasService()  : bool
Has Service
update()  : ThemeFileForm
テーマファイルを編集
upload()  : mixed
ファイルをアップロードする

Properties

$_tempalteTypes

テーマファイルタイプ

protected array<string|int, mixed> $_tempalteTypes = []
Tags
public

protected

Methods

copyToTheme()

現在のテーマにファイルをコピー

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

create()

テーマファイルを作成

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

delete()

テーマファイルを削除

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

getFullpath()

fullpathを作成

public getFullpath(string $theme, string $plugin, string $type, string $path) : string
Parameters
$theme : string
$plugin : string
$type : string
$path : string
Tags
checked
noTodo
unitTest
Return values
string

getImg()

テーマ内のイメージデータを取得する

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

getImgThumb()

テーマ内の画像のサムネイルイメージのデータを取得する

public getImgThumb(array<string|int, mixed> $args, int $width, int $height) : array<string|int, mixed>
Parameters
$args : array<string|int, mixed>
$width : int
$height : int
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>

getNew()

テーマファイルの初期値を取得

public getNew(string $file, string $type) : ThemeFile
Parameters
$file : string
$type : string
Tags
checked
noTodo
unitTest
Return values
ThemeFile

getService()

Get Service

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

getViewVarsForAdd()

テーマファイル新規登録画面用の View 変数を取得する

public getViewVarsForAdd(ThemeFile $entity, ThemeFileForm $form, array<string|int, mixed> $args) : array<string|int, mixed>
Parameters
$entity : ThemeFile
$form : ThemeFileForm
$args : array<string|int, mixed>
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>

getViewVarsForEdit()

テーマファイル編集画面用の View 変数を取得する

public getViewVarsForEdit(ThemeFile $themeFile, ThemeFileForm $themeFileForm, array<string|int, mixed> $args) : array<string|int, mixed>
Parameters
$themeFile : ThemeFile
$themeFileForm : ThemeFileForm
$args : array<string|int, mixed>
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>

getViewVarsForIndex()

テーマファイル一覧用の View 変数を取得する

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

getViewVarsForView()

テーマファイル表示画面用の View 変数を取得する

public getViewVarsForView(ThemeFile $themeFile, ThemeFileForm $themeFileForm, array<string|int, mixed> $args) : array<string|int, mixed>
Parameters
$themeFile : ThemeFile
$themeFileForm : ThemeFileForm
$args : array<string|int, mixed>
Tags
noTodo
checked
unitTest
Return values
array<string|int, mixed>

hasService()

Has Service

public hasService( $service) : bool
Parameters
$service :
Tags
checked
noTodo
unitTest
Return values
bool

update()

テーマファイルを編集

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

upload()

ファイルをアップロードする

public upload(string $fullpath, array<string|int, mixed> $postData) : mixed
Parameters
$fullpath : string
$postData : array<string|int, mixed>
Tags
checked
noTodo
unitTest

        
On this page

Search results