Jinya CMS

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

$chunkPosition

public int $chunkPosition

The position of the chunk, the chunk position is used to connect the resulting chunks in the correct order

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
Tags
throws
Exception
Return values
Iterator

Search results