You are here

public function AFile::getSize in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

1 call to AFile::getSize()
AFile::getData in vendor/edsdk/file-uploader-server-php/src/lib/file/AFile.php

File

vendor/edsdk/file-uploader-server-php/src/lib/file/AFile.php, line 62

Class

AFile

Namespace

EdSDK\FileUploaderServer\lib\file

Code

public function getSize() {
  $path = $this
    ->getFullPath();
  if (file_exists($path)) {
    return filesize($path);
  }
  return 0;
}