\FAA\Obj\SysFile

Summary

Methods
Properties
Constants
__construct()
$is_dir
$path
$name
$id
$size
$readable_size
$extension
$create_date
$change_date
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$is_dir

$is_dir :boolean

Is this a directory or a file

Type

boolean—Is a directory

$path

$path :string

Absolute path to this file

Type

string—The path

$name

$name :string

Storage for file or folder name

Type

string—The file name

$id

$id :string

Folder id, the name

Type

string

$size

$size :integer

The file size, null for folders

Type

integer—The file size in byte

$readable_size

$readable_size :integer

The human readable size in mb

Type

integer

$extension

$extension :string

The file extension

Type

string—The extension

$create_date

$create_date :string|null

The creation time of this file

Type

string|null—The formatted date

$change_date

$change_date :string|null

The last changed time of this file

Type

string|null—The formatted date

Methods

__construct()

__construct(string  $path)

File constructor.

Parameters

string $path

The absolute path