Bitrix API

File implements JsonSerializable

FinalYes

Table of Contents

Interfaces

JsonSerializable

Methods

getHeight()  : int|null
getId()  : int|null
getInfo()  : array<string|int, mixed>
getName()  : string|null
getPreview()  : self|null
getType()  : string|null
getUrl()  : string|null
getWidth()  : int|null
jsonSerialize()  : mixed
load()  : self|null
loadBatch()  : array<string|int, mixed>
loadWithPreview()  : self|null

Methods

getHeight()

public getHeight() : int|null
Return values
int|null

getId()

public getId() : int|null
Return values
int|null

getInfo()

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

getName()

public getName() : string|null
Return values
string|null

getPreview()

public getPreview(int $width, int $height) : self|null
Parameters
$width : int
$height : int
Return values
self|null

getType()

public getType() : string|null
Return values
string|null

getUrl()

public getUrl() : string|null
Return values
string|null

getWidth()

public getWidth() : int|null
Return values
int|null

jsonSerialize()

public jsonSerialize() : mixed

load()

public static load(int $fileId) : self|null
Parameters
$fileId : int
Return values
self|null

loadBatch()

public static loadBatch(array<string|int, mixed> $fileIds) : array<string|int, mixed>
Parameters
$fileIds : array<string|int, mixed>
Return values
array<string|int, mixed>

loadWithPreview()

public static loadWithPreview(int $fileId[, array<string|int, mixed> $previewOptions = [] ]) : self|null
Parameters
$fileId : int
$previewOptions : array<string|int, mixed> = []
Return values
self|null

        
On this page

Search results