Bitrix API

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

Methods

__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
Return values
int

getContentType()

public getContentType() : string
Return values
string

getFile()

public getFile() : array<string|int, mixed>
Return values
array<string|int, mixed>

getName()

public getName() : null
Return values
null

getPath()

public getPath() : mixed

isShowInline()

public isShowInline() : bool
Return values
bool

send()

public send() : mixed

setCacheTime()

public setCacheTime(int $cacheTime) : File
Parameters
$cacheTime : int
Return values
File

setContentType()

public setContentType(string $contentType) : File
Parameters
$contentType : string
Return values
File

setName()

public setName(null $name) : File
Parameters
$name : null
Return values
File

setPath()

public setPath(mixed $path) : File
Parameters
$path : mixed
Return values
File

showInline()

public showInline(bool $enabled) : File
Parameters
$enabled : bool
Return values
File

        
On this page

Search results