| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
 Collaboration diagram for ilCertificateBackgroundImageFileService:Public Member Functions | |
| __construct (private readonly string $certificatePath, private readonly Filesystem $fileSystem, private readonly string $webDirectory=CLIENT_WEB_DIR) | |
| hasBackgroundImage (ilCertificateTemplate $template) | |
| getBackgroundImageThumbPath () | |
| getBackgroundImageDirectory (string $backgroundImagePath='') | |
| getBackgroundImageTempfilePath (string $extension) | |
| getValidBackgroundImageFileExtensions () | |
Data Fields | |
| final const | BACKGROUND_IMAGE_NAME = 'background.jpg' | 
| final const | BACKGROUND_TEMPORARY_UPLOAD_FILE_NAME = 'background_upload_tmp' | 
| final const | BACKGROUND_THUMBNAIL_FILE_ENDING = '.thumb.jpg' | 
| final const | PLACEHOLDER_CLIENT_WEB_DIRECTORY = '[CLIENT_WEB_DIR]' | 
| final const | VALID_BACKGROUND_IMAGE_EXTENSIONS = ['jpg', 'jpeg', 'gif', 'png'] | 
Definition at line 26 of file ilCertificateBackgroundImageFileService.php.
| ilCertificateBackgroundImageFileService::__construct | ( | private readonly string | $certificatePath, | 
| private readonly Filesystem | $fileSystem, | ||
| private readonly string | $webDirectory = CLIENT_WEB_DIR  | 
        ||
| ) | 
Definition at line 34 of file ilCertificateBackgroundImageFileService.php.
| ilCertificateBackgroundImageFileService::getBackgroundImageDirectory | ( | string | $backgroundImagePath = '' | ) | 
Definition at line 56 of file ilCertificateBackgroundImageFileService.php.
| ilCertificateBackgroundImageFileService::getBackgroundImageTempfilePath | ( | string | $extension | ) | 
Definition at line 65 of file ilCertificateBackgroundImageFileService.php.
| ilCertificateBackgroundImageFileService::getBackgroundImageThumbPath | ( | ) | 
Definition at line 51 of file ilCertificateBackgroundImageFileService.php.
| ilCertificateBackgroundImageFileService::getValidBackgroundImageFileExtensions | ( | ) | 
Definition at line 78 of file ilCertificateBackgroundImageFileService.php.
| ilCertificateBackgroundImageFileService::hasBackgroundImage | ( | ilCertificateTemplate | $template | ) | 
Definition at line 41 of file ilCertificateBackgroundImageFileService.php.
References ilCertificateTemplate\getBackgroundImagePath().
 Here is the call graph for this function:| final const ilCertificateBackgroundImageFileService::BACKGROUND_IMAGE_NAME = 'background.jpg' | 
Definition at line 28 of file ilCertificateBackgroundImageFileService.php.
| final const ilCertificateBackgroundImageFileService::BACKGROUND_TEMPORARY_UPLOAD_FILE_NAME = 'background_upload_tmp' | 
Definition at line 29 of file ilCertificateBackgroundImageFileService.php.
Referenced by ilObjCertificateSettings\getDefaultBackgroundImageTempFilePath().
| final const ilCertificateBackgroundImageFileService::BACKGROUND_THUMBNAIL_FILE_ENDING = '.thumb.jpg' | 
Definition at line 30 of file ilCertificateBackgroundImageFileService.php.
Referenced by ilObjCertificateSettings\getDefaultBackgroundImageThumbPath(), and ilObjCertificateSettings\uploadBackgroundImage().
| final const ilCertificateBackgroundImageFileService::PLACEHOLDER_CLIENT_WEB_DIRECTORY = '[CLIENT_WEB_DIR]' | 
Definition at line 31 of file ilCertificateBackgroundImageFileService.php.
| final const ilCertificateBackgroundImageFileService::VALID_BACKGROUND_IMAGE_EXTENSIONS = ['jpg', 'jpeg', 'gif', 'png'] | 
Definition at line 32 of file ilCertificateBackgroundImageFileService.php.
Referenced by ilObjCertificateSettings\deleteBackgroundImage().