24 require_once
"./Services/Object/classes/class.ilObject.php";
45 $this->
ilObject($a_id,$a_call_by_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))
139 $image_filename =
"background_upload";
142 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.
ilObject($a_id=0, $a_reference=true)
Constructor public.
Class ilObjCertificateSettings.
getBackgroundImageTempfilePath()
Returns the filesystem path of the background image temp file during upload.
const ILIAS_ABSOLUTE_PATH
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.
ilObjCertificateSettings($a_id=0, $a_call_by_reference=true)
Constructor public.
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.