◆ __construct()
◆ deleteBackgroundImage()
| ilCertificateBackgroundImageDelete::deleteBackgroundImage |
( |
?int |
$version | ) |
|
Definition at line 32 of file classs.ilCertificateBackgroundImageDelete.php.
References $filename.
34 if (is_file($this->fileService->getBackgroundImageThumbPath())) {
35 unlink($this->fileService->getBackgroundImageThumbPath());
43 $filename = $this->certificatePath .
'background_' . $version_string .
'.jpg';
48 foreach ($this->fileService->getValidBackgroundImageFileExtensions() as $extension) {
49 if (file_exists($this->fileService->getBackgroundImageTempfilePath($extension))) {
50 unlink($this->fileService->getBackgroundImageTempfilePath($extension));
The documentation for this class was generated from the following file: