24require_once
"./Services/Object/classes/class.ilObject.php";
58 if (!empty($image_tempfilename)) {
61 if (!file_exists($imagepath)) {
111 return CLIENT_WEB_DIR .
"/certificates/default/";
150 if (file_exists($filePath) && filesize($filePath) > 0) {
An exception for terminatinating execution or to throw for unit testing.
const BACKGROUND_THUMBNAIL_FILE_ENDING
const BACKGROUND_TEMPORARY_UPLOAD_FILE_NAME
const BACKGROUND_IMAGE_NAME
Class ilObjCertificateSettings.
uploadBackgroundImage($image_tempfilename)
Uploads a background image for the certificate.
getDefaultBackgroundImagePathWeb()
Returns the web path of the background image.
getBackgroundImageDefaultFolder()
getDefaultBackgroundImageTempfilePath()
Returns the filesystem path of the background image temp file during upload.
getDefaultBackgroundImageThumbPath()
Returns the filesystem path of the background image thumbnail.
__construct($a_id=0, $a_reference=true)
Constructor @access public.
getDefaultBackgroundImagePath()
Returns the filesystem path of the background image.
deleteBackgroundImage()
Deletes the background image of a certificate.
getBackgroundImageThumbPathWeb()
Returns the web path of the background image thumbnail.
Class ilObject Basic functions for all objects.
static moveUploadedFile($a_file, $a_name, $a_target, $a_raise_errors=true, $a_mode="move_uploaded")
move uploaded file
static convertImage( $a_from, $a_to, $a_target_format="", $a_geometry="", $a_background_color="")
convert image
static makeDirParents($a_dir)
Create a new directory and all parent directories.
static removeTrailingPathSeparators($path)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc