◆ __construct()
◆ deleteBackgroundImage()
ilCertificateBackgroundImageDelete::deleteBackgroundImage |
( |
?int |
$version | ) |
|
Definition at line 35 of file classs.ilCertificateBackgroundImageDelete.php.
References $filename.
37 if (is_file($this->fileService->getBackgroundImageThumbPath())) {
38 unlink($this->fileService->getBackgroundImageThumbPath());
46 $filename = $this->certificatePath .
'background_' . $version_string .
'.jpg';
51 foreach ($this->fileService->getValidBackgroundImageFileExtensions() as $extension) {
52 if (file_exists($this->fileService->getBackgroundImageTempfilePath($extension))) {
53 unlink($this->fileService->getBackgroundImageTempfilePath($extension));
◆ $certificatePath
string ilCertificateBackgroundImageDelete::$certificatePath |
|
private |
◆ $fileService
The documentation for this class was generated from the following file: