public function MongoFile::validateFile in One Click Upload 7.2
Return value
bool
Overrides File::validateFile
File
- flowphp/
src/ Flow/ Mongo/ MongoFile.php, line 112
Class
- MongoFile
- Notes:
Namespace
Flow\MongoCode
public function validateFile() {
$totalChunks = $this->request
->getTotalChunks();
for ($i = 1; $i <= $totalChunks; $i++) {
if (!$this
->chunkExists($i)) {
return false;
}
}
return true;
}