baserCMS クラスリファレンス

ThemeFilesService extends BcThemeFileService
in package
implements ThemeFilesServiceInterface

ThemeFilesService

Table of Contents

Interfaces

ThemeFilesServiceInterface
ThemeFilesServiceInterface

Properties

$ThemeFileForm  : ThemeFileForm
$ThemeFileForm  : ThemeFileForm
ThemeFile Form

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
テーマファイルの初期値を取得
update()  : ThemeFileForm
テーマファイルを編集
upload()  : mixed
ファイルをアップロードする

Properties

Methods

__construct()

Constructor

public __construct() : mixed
Tags
checked
noTodo
unitTest

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

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