Jinya CMS

UploadingFile
in package
implements Creatable, Deletable Uses EntityTrait

This class contains an uploading file.

Uploading files are temporary entities used to handle the chunked upload feature of Jinya CMS

Tags

Interfaces, Classes, Traits and Enums

Creatable
Deletable

Table of Contents

$fileId  : int
$id  : string
__construct()  : mixed
create()  : void
delete()  : void
findByFile()  : UploadingFile|null
Finds an uploading file by the ID of the connected file
getChunks()  : Iterator
Gets all chunks
getFile()  : File|null
Gets the corresponding file

Properties

$fileId

public int $fileId

The ID of the file the uploading file belongs to

Tags

Methods

__construct()

public __construct() : mixed
Tags
throws
Exception
Return values
mixed

delete()

public delete() : void
Tags
Return values
void

findByFile()

Finds an uploading file by the ID of the connected file

public static findByFile(int $fileId) : UploadingFile|null
Parameters
$fileId : int
Tags
Return values
UploadingFile|null

getChunks()

Gets all chunks

public getChunks() : Iterator
Tags
throws
Exception
Return values
Iterator

Search results