24require_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))
An exception for terminatinating execution or to throw for unit testing.
Class ilObjCertificateSettings.
getBackgroundImagePath()
Returns the filesystem path of the background image.
uploadBackgroundImage($image_tempfilename)
Uploads a background image for the certificate.
getBackgroundImageDefaultFolder()
getBackgroundImageTempfilePath()
Returns the filesystem path of the background image temp file during upload.
getBackgroundImagePathWeb()
Returns the web path of the background image.
__construct($a_id=0, $a_reference=true)
Constructor @access public.
deleteBackgroundImage()
Deletes the background image of a certificate.
getBackgroundImageThumbPath()
Returns the filesystem path of the background image thumbnail.
getBackgroundImageThumbPathWeb()
Returns the web path of the background image thumbnail.
getBackgroundImageName()
Returns the filename of the background image.
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)