You are here

public function AFile::setName in N1ED - Visual editor as CKEditor plugin with Bootstrap support 8.2

Sets a name of file.

2 calls to AFile::setName()
AFile::setFreeFileName in src/Flmngr/FileUploaderServer/lib/file/AFile.php
Generates and sets free file name for this file.
FileUploaded::rehost in src/Flmngr/FileUploaderServer/lib/file/FileUploaded.php
Rehosts a file (downloads from some URL).

File

src/Flmngr/FileUploaderServer/lib/file/AFile.php, line 120

Class

AFile
Abstract file item both for just uploaded and fully commited files. Contains some handy method for accessing files info programmatically.

Namespace

Drupal\n1ed\Flmngr\FileUploaderServer\lib\file

Code

public function setName($name) {
  $this->name = $name;
}