24 require_once
"./Services/Object/classes/class.ilObject.php";
45 parent::__construct($a_id, $a_reference);
60 return CLIENT_WEB_DIR .
"/certificates/default/";
80 return "background.jpg";
110 include_once
"./Services/Utilities/classes/class.ilUtil.php";
121 include_once
"./Services/Utilities/classes/class.ilUtil.php";
134 if (!empty($image_tempfilename)) {
137 if (!file_exists($imagepath)) {
141 if (!ilUtil::moveUploadedFile(
uploadBackgroundImage($image_tempfilename)
Uploads a background image for the certificate.
static makeDirParents($a_dir)
Create a new directory and all parent directories.
getBackgroundImageDefaultFolder()
getBackgroundImagePath()
Returns the filesystem path of the background image.
getBackgroundImageThumbPathWeb()
Returns the web path of the background image thumbnail.
__construct($a_id=0, $a_reference=true)
Constructor public.
Class ilObjCertificateSettings.
getBackgroundImageTempfilePath()
Returns the filesystem path of the background image temp file during upload.
static convertImage( $a_from, $a_to, $a_target_format="", $a_geometry="", $a_background_color="")
convert image
static removeTrailingPathSeparators($path)
deleteBackgroundImage()
Deletes the background image of a certificate.
getBackgroundImageName()
Returns the filename of the background image.
getBackgroundImagePathWeb()
Returns the web path of the background image.
getBackgroundImageThumbPath()
Returns the filesystem path of the background image thumbnail.