UploadingFileChunk
in package
implements
Creatable, Deletable
Uses
EntityTrait, CreatableEntityTrait, DeletableEntityTrait
This class contains a chunk of an uploading file
Tags
Interfaces, Classes, Traits and Enums
- Creatable
- Deletable
Table of Contents
- $chunkPath : string
- $chunkPosition : int
- $id : int
- $uploadingFileId : string
- findByFile() : Iterator
- Gets all chunks for the given file ordered by position
Properties
$chunkPath
public
string
$chunkPath
The absolut path to the chunk
Tags
$chunkPosition
public
int
$chunkPosition
The position of the chunk, the chunk position is used to connect the resulting chunks in the correct order
Tags
$id
public
int
$id
Tags
$uploadingFileId
public
string
$uploadingFileId
The ID of the owning uploading file
Tags
Methods
findByFile()
Gets all chunks for the given file ordered by position
public
static findByFile(int $fileId) : Iterator
Parameters
- $fileId : int