|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Collaboration diagram for ilCertificateBackgroundImageFileService:Public Member Functions | |
| __construct (string $certificatePath, \ILIAS\Filesystem\Filesystem $filesystem, $webDirectory=CLIENT_WEB_DIR) | |
| hasBackgroundImage (ilCertificateTemplate $template) | |
| Checks for the background image of the certificate. More... | |
| hasBackgroundImageThumbnail (ilCertificateTemplate $template) | |
| getBackgroundImageThumbPath () | |
| Returns the filesystem path of the background image thumbnail. More... | |
| getBackgroundImageDirectory ($backgroundImagePath='') | |
| Returns the filesystem path of the background image. More... | |
| getBackgroundImageTempfilePath () | |
| Returns the filesystem path of the background image temp file during upload. More... | |
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]' |
Private Attributes | |
| $fileSystem | |
| $certificatePath | |
| $webDirectory | |
Definition at line 7 of file ilCertificateBackgroundImageFileService.php.
| ilCertificateBackgroundImageFileService::__construct | ( | string | $certificatePath, |
| \ILIAS\Filesystem\Filesystem | $filesystem, | ||
$webDirectory = CLIENT_WEB_DIR |
|||
| ) |
| string | $certificatePath | |
| \ILIAS\Filesystem\Filesystem | $filesystem | |
| string | $webDirectory |
Definition at line 34 of file ilCertificateBackgroundImageFileService.php.
References $certificatePath, and $webDirectory.
| ilCertificateBackgroundImageFileService::getBackgroundImageDirectory | ( | $backgroundImagePath = '' | ) |
Returns the filesystem path of the background image.
| string | $backgroundImagePath |
Definition at line 95 of file ilCertificateBackgroundImageFileService.php.
| ilCertificateBackgroundImageFileService::getBackgroundImageTempfilePath | ( | ) |
Returns the filesystem path of the background image temp file during upload.
Definition at line 109 of file ilCertificateBackgroundImageFileService.php.
References BACKGROUND_TEMPORARY_UPLOAD_FILE_NAME.
| ilCertificateBackgroundImageFileService::getBackgroundImageThumbPath | ( | ) |
Returns the filesystem path of the background image thumbnail.
Definition at line 85 of file ilCertificateBackgroundImageFileService.php.
References BACKGROUND_THUMBNAIL_FILE_ENDING.
| ilCertificateBackgroundImageFileService::hasBackgroundImage | ( | ilCertificateTemplate | $template | ) |
Checks for the background image of the certificate.
| ilCertificateTemplate | $template |
Definition at line 49 of file ilCertificateBackgroundImageFileService.php.
References ilCertificateTemplate\getBackgroundImagePath().
Here is the call graph for this function:| ilCertificateBackgroundImageFileService::hasBackgroundImageThumbnail | ( | ilCertificateTemplate | $template | ) |
| ilCertificateTemplate | $template |
Definition at line 67 of file ilCertificateBackgroundImageFileService.php.
References ilCertificateTemplate\getThumbnailImagePath().
Here is the call graph for this function:
|
private |
Definition at line 22 of file ilCertificateBackgroundImageFileService.php.
Referenced by __construct().
|
private |
Definition at line 17 of file ilCertificateBackgroundImageFileService.php.
|
private |
Definition at line 27 of file ilCertificateBackgroundImageFileService.php.
Referenced by __construct().
| const ilCertificateBackgroundImageFileService::BACKGROUND_IMAGE_NAME = 'background.jpg' |
Definition at line 9 of file ilCertificateBackgroundImageFileService.php.
| const ilCertificateBackgroundImageFileService::BACKGROUND_TEMPORARY_UPLOAD_FILE_NAME = 'background_upload.tmp' |
Definition at line 10 of file ilCertificateBackgroundImageFileService.php.
Referenced by getBackgroundImageTempfilePath(), and ilObjCertificateSettings\getDefaultBackgroundImageTempFilePath().
| const ilCertificateBackgroundImageFileService::BACKGROUND_THUMBNAIL_FILE_ENDING = '.thumb.jpg' |
Definition at line 11 of file ilCertificateBackgroundImageFileService.php.
Referenced by getBackgroundImageThumbPath(), ilObjCertificateSettings\getDefaultBackgroundImageThumbPath(), and ilObjCertificateSettings\uploadBackgroundImage().
| const ilCertificateBackgroundImageFileService::PLACEHOLDER_CLIENT_WEB_DIRECTORY = '[CLIENT_WEB_DIR]' |
Definition at line 12 of file ilCertificateBackgroundImageFileService.php.