Bitrix API

File extends Base

Table of Contents

Methods

__construct()  : mixed
getAttributes()  : array<string|int, mixed>
getExtension()  : string
getId()  : int
getName()  : string
getPreviewUrl()  : string|null
getSize()  : int
getSourceFileId()  : int
getViewUrl()  : string
isAudio()  : bool
toArray()  : array<string|int, mixed>

Methods

__construct()

public __construct(int $id, int $sourceFileId, string $name, int $size, string $viewUrl[, string|null $previewUrl = null ]) : mixed
Parameters
$id : int
$sourceFileId : int
$name : string
$size : int
$viewUrl : string
$previewUrl : string|null = null

getAttributes()

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

getExtension()

public getExtension() : string
Return values
string

getId()

public getId() : int
Return values
int

getName()

public getName() : string
Return values
string

getPreviewUrl()

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

getSize()

public getSize() : int
Return values
int

getSourceFileId()

public getSourceFileId() : int
Return values
int

getViewUrl()

public getViewUrl() : string
Return values
string

isAudio()

public isAudio() : bool
Return values
bool

toArray()

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

        
On this page

Search results