Method |
Description |
|
__construct ( flow\ConfigInterface $config, flow\RequestInterface $request = null ) |
Constructor |
|
_move_uploaded_file ( string $filePath, string $destinationPath ) : boolean |
This method is used only for testing |
|
checkChunk ( ) : boolean |
Check if chunk exist |
|
deleteChunks ( ) |
Delete chunks dir |
|
getChunkPath ( integer $index ) : string |
Return chunk path |
|
getIdentifier ( ) : string |
Get file identifier |
|
save ( string $destination ) : boolean |
Merge all chunks to single file |
|
saveChunk ( ) : boolean |
Save chunk |
|
validateChunk ( ) : boolean |
Validate file request |
|
validateFile ( ) : boolean |
Check if file upload is complete |
|