24require_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))
141 if (!file_exists($imagepath))
Class ilObjCertificateSettings.
getBackgroundImagePath()
Returns the filesystem path of the background image.
ilObjCertificateSettings($a_id=0, $a_call_by_reference=true)
Constructor @access public.
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.
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.
ilObject($a_id=0, $a_reference=true)
Constructor @access public.
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)
const ILIAS_ABSOLUTE_PATH