|
ILIAS
release_8 Revision v8.25-1-g13de6a5eca6
|
Collaboration diagram for ilCertificateBackgroundImageFileService:Public Member Functions | |
| __construct (string $certificatePath, Filesystem $filesystem, string $webDirectory=CLIENT_WEB_DIR) | |
| hasBackgroundImage (ilCertificateTemplate $template) | |
| hasBackgroundImageThumbnail (ilCertificateTemplate $template) | |
| getBackgroundImageThumbPath () | |
| getBackgroundImageDirectory (string $backgroundImagePath='') | |
| getBackgroundImageTempfilePath (string $extension) | |
| getValidBackgroundImageFileExtensions () | |
Data Fields | |
| const | BACKGROUND_IMAGE_NAME = 'background.jpg' |
| const | BACKGROUND_TEMPORARY_UPLOAD_FILE_NAME = 'background_upload_tmp' |
| const | BACKGROUND_THUMBNAIL_FILE_ENDING = '.thumb.jpg' |
| const | PLACEHOLDER_CLIENT_WEB_DIRECTORY = '[CLIENT_WEB_DIR]' |
| const | VALID_BACKGROUND_IMAGE_EXTENSIONS = ['jpg', 'jpeg', 'gif', 'png'] |
Private Attributes | |
| Filesystem | $fileSystem |
| string | $certificatePath |
| string | $webDirectory |
Definition at line 26 of file ilCertificateBackgroundImageFileService.php.
| ilCertificateBackgroundImageFileService::__construct | ( | string | $certificatePath, |
| Filesystem | $filesystem, | ||
| string | $webDirectory = CLIENT_WEB_DIR |
||
| ) |
Definition at line 38 of file ilCertificateBackgroundImageFileService.php.
References $certificatePath, and $webDirectory.
| ilCertificateBackgroundImageFileService::getBackgroundImageDirectory | ( | string | $backgroundImagePath = '' | ) |
Definition at line 81 of file ilCertificateBackgroundImageFileService.php.
| ilCertificateBackgroundImageFileService::getBackgroundImageTempfilePath | ( | string | $extension | ) |
Definition at line 90 of file ilCertificateBackgroundImageFileService.php.
| ilCertificateBackgroundImageFileService::getBackgroundImageThumbPath | ( | ) |
Definition at line 76 of file ilCertificateBackgroundImageFileService.php.
References BACKGROUND_THUMBNAIL_FILE_ENDING.
| ilCertificateBackgroundImageFileService::getValidBackgroundImageFileExtensions | ( | ) |
Definition at line 103 of file ilCertificateBackgroundImageFileService.php.
References VALID_BACKGROUND_IMAGE_EXTENSIONS.
| ilCertificateBackgroundImageFileService::hasBackgroundImage | ( | ilCertificateTemplate | $template | ) |
Definition at line 48 of file ilCertificateBackgroundImageFileService.php.
References ilCertificateTemplate\getBackgroundImagePath().
Here is the call graph for this function:| ilCertificateBackgroundImageFileService::hasBackgroundImageThumbnail | ( | ilCertificateTemplate | $template | ) |
Definition at line 62 of file ilCertificateBackgroundImageFileService.php.
References ilCertificateTemplate\getThumbnailImagePath().
Here is the call graph for this function:
|
private |
Definition at line 35 of file ilCertificateBackgroundImageFileService.php.
Referenced by __construct().
|
private |
Definition at line 34 of file ilCertificateBackgroundImageFileService.php.
|
private |
Definition at line 36 of file ilCertificateBackgroundImageFileService.php.
Referenced by __construct().
| const ilCertificateBackgroundImageFileService::BACKGROUND_IMAGE_NAME = 'background.jpg' |
Definition at line 28 of file ilCertificateBackgroundImageFileService.php.
| const ilCertificateBackgroundImageFileService::BACKGROUND_TEMPORARY_UPLOAD_FILE_NAME = 'background_upload_tmp' |
Definition at line 29 of file ilCertificateBackgroundImageFileService.php.
Referenced by ilObjCertificateSettings\getDefaultBackgroundImageTempFilePath().
| const ilCertificateBackgroundImageFileService::BACKGROUND_THUMBNAIL_FILE_ENDING = '.thumb.jpg' |
Definition at line 30 of file ilCertificateBackgroundImageFileService.php.
Referenced by getBackgroundImageThumbPath(), ilObjCertificateSettings\getDefaultBackgroundImageThumbPath(), and ilObjCertificateSettings\uploadBackgroundImage().
| const ilCertificateBackgroundImageFileService::PLACEHOLDER_CLIENT_WEB_DIRECTORY = '[CLIENT_WEB_DIR]' |
Definition at line 31 of file ilCertificateBackgroundImageFileService.php.
| const ilCertificateBackgroundImageFileService::VALID_BACKGROUND_IMAGE_EXTENSIONS = ['jpg', 'jpeg', 'gif', 'png'] |
Definition at line 32 of file ilCertificateBackgroundImageFileService.php.
Referenced by ilObjCertificateSettings\deleteBackgroundImage(), and getValidBackgroundImageFileExtensions().