24 require_once
"./Services/Object/classes/class.ilObject.php";
45 parent::__construct($a_id, $a_reference);
63 return CLIENT_WEB_DIR .
"/certificates/default/";
83 return "background.jpg";
113 include_once
"./Services/Utilities/classes/class.ilUtil.php";
124 include_once
"./Services/Utilities/classes/class.ilUtil.php";
137 if (!empty($image_tempfilename))
141 if (!file_exists($imagepath))
uploadBackgroundImage($image_tempfilename)
Uploads a background image for the certificate.
static makeDirParents($a_dir)
Create a new directory and all parent directories.
getBackgroundImageDefaultFolder()
Class ilObject Basic functions for all objects.
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 moveUploadedFile($a_file, $a_name, $a_target, $a_raise_errors=true, $a_mode="move_uploaded")
move uploaded file
static removeTrailingPathSeparators($path)
deleteBackgroundImage()
Deletes the background image of a certificate.
getBackgroundImageName()
Returns the filename of the background image.
static convertImage($a_from, $a_to, $a_target_format="", $a_geometry="", $a_background_color="")
convert image
getBackgroundImagePathWeb()
Returns the web path of the background image.
getBackgroundImageThumbPath()
Returns the filesystem path of the background image thumbnail.