ILIAS
release_8 Revision v8.19
|
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.
ilCertificateBackgroundImageFileService::getValidBackgroundImageFileExtensions | ( | ) |
Definition at line 103 of file ilCertificateBackgroundImageFileService.php.
ilCertificateBackgroundImageFileService::hasBackgroundImage | ( | ilCertificateTemplate | $template | ) |
Definition at line 48 of file ilCertificateBackgroundImageFileService.php.
References ilCertificateTemplate\getBackgroundImagePath().
ilCertificateBackgroundImageFileService::hasBackgroundImageThumbnail | ( | ilCertificateTemplate | $template | ) |
Definition at line 62 of file ilCertificateBackgroundImageFileService.php.
References ilCertificateTemplate\getThumbnailImagePath().
|
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 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().