You are here

protected function AFile::setFreeFileName in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

1 call to AFile::setFreeFileName()
FileUploaded::uploadAndCommit in vendor/edsdk/file-uploader-server-php/src/lib/file/FileUploaded.php

File

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

Class

AFile

Namespace

EdSDK\FileUploaderServer\lib\file

Code

protected function setFreeFileName() {
  $name = Utils::getFreeFileName($this
    ->getBaseDir() . $this
    ->getDir(), $this
    ->getName(), false);
  $this
    ->setName($name);
}