Bitrix API

File

Table of Contents

Methods

__construct()  : mixed
File constructor.
delete()  : bool
Delete file.
getAbsolutePath()  : string
getPublicPath()  : mixed
getSize()  : int

Methods

__construct()

File constructor.

public __construct(int|string $file) : mixed
Parameters
$file : int|string
  • ID in b_file or path.

delete()

Delete file.

public delete() : bool
Return values
bool

getAbsolutePath()

public getAbsolutePath() : string
Return values
string

getPublicPath()

public getPublicPath() : mixed

getSize()

public getSize() : int
Return values
int

        
On this page

Search results