Documentation

ArchiveItem
in package

Table of Contents

Properties

$accessed  : DateTime|null
$archivePath  : string|null
$created  : DateTime|null
$extension  : string|null
$extraInfos  : array<string|int, mixed>
$filename  : string|null
$hostOS  : string|null
$id  : string|null
$isDirectory  : bool
$isHidden  : bool
$isImage  : bool
$modified  : DateTime|null
$packedSize  : int|null
$path  : string|null
$rootPath  : string|null
$size  : int|null
$sizeHuman  : string|null

Methods

__construct()  : mixed
__toString()  : string
fromP7zip()  : self
getAccessed()  : DateTime|null
getArchivePath()  : string|null
getCreated()  : DateTime|null
getExtension()  : string|null
getExtraInfos()  : array<string|int, mixed>
getFilename()  : string|null
getHostOS()  : string|null
getId()  : string|null
Path encoded in base64.
getModified()  : DateTime|null
getPackedSize()  : int|null
getPath()  : string|null
getRootPath()  : string|null
getSize()  : int|null
getSizeHuman()  : string|null
isDirectory()  : bool
isHidden()  : bool
isImage()  : bool
toArray()  : array<string|int, mixed>

Properties

$archivePath

protected string|null $archivePath = null

$extraInfos

protected array<string|int, mixed> $extraInfos = []

Methods

__construct()

public __construct([string|null $id = null ][, string|null $archivePath = null ][, string|null $filename = null ][, string|null $extension = null ][, string|null $path = null ][, string|null $rootPath = null ][, string|null $sizeHuman = null ][, int|null $size = null ][, int|null $packedSize = null ][, bool $isDirectory = false ][, bool $isImage = false ][, bool $isHidden = false ][, DateTime|null $modified = null ][, DateTime|null $created = null ][, DateTime|null $accessed = null ][, array<string|int, mixed> $extraInfos = [] ][, string|null $hostOS = null ]) : mixed
Parameters
$id : string|null = null
$archivePath : string|null = null
$filename : string|null = null
$extension : string|null = null
$path : string|null = null
$rootPath : string|null = null
$sizeHuman : string|null = null
$size : int|null = null
$packedSize : int|null = null
$isDirectory : bool = false
$isImage : bool = false
$isHidden : bool = false
$modified : DateTime|null = null
$created : DateTime|null = null
$accessed : DateTime|null = null
$extraInfos : array<string|int, mixed> = []
$hostOS : string|null = null

__toString()

public __toString() : string
Return values
string

fromP7zip()

public static fromP7zip(array<string|int, mixed> $data[, string|null $archivePath = null ]) : self
Parameters
$data : array<string|int, mixed>
$archivePath : string|null = null
Return values
self

getAccessed()

public getAccessed() : DateTime|null
Return values
DateTime|null

getArchivePath()

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

getCreated()

public getCreated() : DateTime|null
Return values
DateTime|null

getExtension()

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

getExtraInfos()

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

getFilename()

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

getHostOS()

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

getId()

Path encoded in base64.

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

getModified()

public getModified() : DateTime|null
Return values
DateTime|null

getPackedSize()

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

getPath()

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

getRootPath()

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

getSize()

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

getSizeHuman()

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

isDirectory()

public isDirectory() : bool
Return values
bool

isHidden()

public isHidden() : bool
Return values
bool

isImage()

public isImage() : bool
Return values
bool

toArray()

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

        
On this page

Search results