BFile
extends File
Table of Contents
Methods
-
__construct()
: mixed
-
createByFileData()
: mixed
-
createByFileId()
: mixed
-
getCacheTime()
: int
-
getContentType()
: string
-
getFile()
: array<string|int, mixed>
-
getName()
: null
-
getPath()
: mixed
-
isShowInline()
: bool
-
send()
: mixed
-
setCacheTime()
: File
-
setContentType()
: File
-
setName()
: File
-
setPath()
: File
-
showInline()
: File
__construct()
public
__construct(array<string|int, mixed> $file[, mixed $name = null ]) : mixed
Parameters
-
$file
: array<string|int, mixed>
-
-
$name
: mixed
= null
-
createByFileData()
public
static createByFileData(array<string|int, mixed> $file[, mixed $name = null ]) : mixed
Parameters
-
$file
: array<string|int, mixed>
-
-
$name
: mixed
= null
-
createByFileId()
public
static createByFileId(mixed $fileId[, mixed $name = null ]) : mixed
Parameters
-
$fileId
: mixed
-
-
$name
: mixed
= null
-
getCacheTime()
public
getCacheTime() : int
getContentType()
public
getContentType() : string
getFile()
public
getFile() : array<string|int, mixed>
Return values
array<string|int, mixed>
getName()
public
getName() : null
getPath()
public
getPath() : mixed
isShowInline()
public
isShowInline() : bool
send()
public
send() : mixed
setCacheTime()
public
setCacheTime(int $cacheTime) : File
Parameters
-
$cacheTime
: int
-
setContentType()
public
setContentType(string $contentType) : File
Parameters
-
$contentType
: string
-
setName()
public
setName(null $name) : File
Parameters
-
$name
: null
-
setPath()
public
setPath(mixed $path) : File
Parameters
-
$path
: mixed
-
showInline()
public
showInline(bool $enabled) : File
Parameters
-
$enabled
: bool
-