baserCMS クラスリファレンス

UploaderFile extends Entity
in package

Class UploaderFile

Table of Contents

Properties

$alt  : string
$created  : FrozenTime
$id  : int
$modified  : FrozenTime
$name  : string
$publish_begin  : FrozenTime
$publish_end  : FrozenTime
$uploader_category_id  : int
$user_id  : int
$_accessible  : array<string|int, mixed>
Accessible

Methods

fileExists()  : bool
ファイルの存在チェックを行う
filesExists()  : array<string|int, mixed>
複数のファイルの存在チェックを行う
isLimited()  : bool
閲覧制限が設定されているかどうか
_getLarge()  : bool
get large
_getMidium()  : bool
get midium
_getSmall()  : bool
get small
getFileNameBySize()  : string
各サイズのファイル名を取得する

Properties

$_accessible

Accessible

protected array<string|int, mixed> $_accessible = ['*' => true, 'id' => false]

Methods

fileExists()

ファイルの存在チェックを行う

public fileExists(string $fileName) : bool
Parameters
$fileName : string
Tags
checked
noTodo
Return values
bool

filesExists()

複数のファイルの存在チェックを行う

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

isLimited()

閲覧制限が設定されているかどうか

public isLimited() : bool
Tags
checked
noTodo
Return values
bool

_getLarge()

get large

protected _getLarge() : bool
Tags
checked
noTodo
Return values
bool

_getMidium()

get midium

protected _getMidium() : bool
Tags
checked
noTodo
Return values
bool

_getSmall()

get small

protected _getSmall() : bool
Tags
checked
noTodo
Return values
bool

getFileNameBySize()

各サイズのファイル名を取得する

private getFileNameBySize(string $size) : string
Parameters
$size : string
Tags
checked
noTodo
Return values
string

        
On this page

Search results