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
boolgetAbsolutePath()
public
getAbsolutePath() : string
Return values
stringgetPublicPath()
public
getPublicPath() : mixed
getSize()
public
getSize() : int