ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilObjCertificateSettingsAccess Class Reference

Class ilObjCertificateSettingsAccess. More...

+ Inheritance diagram for ilObjCertificateSettingsAccess:
+ Collaboration diagram for ilObjCertificateSettingsAccess:

Static Public Member Functions

static hasBackgroundImage ()
 Returns wheather or not a default background image exists. More...
 
static getBackgroundImageDefaultFolder ()
 Returns the filesystem path for the default background image. More...
 
static getBackgroundImagePath ($asRelative=false)
 Returns the filesystem path of the background image. More...
 
static getBackgroundImageName ()
 Returns the filename of the background image. More...
 
static getBackgroundImageThumbPath ()
 Returns the filesystem path of the background image thumbnail. More...
 
static getBackgroundImagePathWeb ()
 Returns the web path of the background image. More...
 
static getBackgroundImageThumbPathWeb ()
 Returns the web path of the background image thumbnail. More...
 
- Static Public Member Functions inherited from ilObjectAccess
static _getCommands ()
 get commands More...
 
static _checkGoto ($a_target)
 check whether goto script will succeed More...
 
static _isOffline ($a_obj_id)
 Type-specific implementation of general status, has to be overwritten. More...
 
static _preloadData ($a_obj_ids, $a_ref_ids)
 Preload data. More...
 

Additional Inherited Members

- Public Member Functions inherited from ilObjectAccess
 _checkAccess ($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id="")
 Checks wether a user may invoke a command or not (this method is called by ilAccessHandler::checkAccess) More...
 
 _checkCondition ($a_obj_id, $a_operator, $a_value, $a_usr_id)
 check condition More...
 

Detailed Description

Class ilObjCertificateSettingsAccess.

Author
Helmut Schottmüller ilias.nosp@m.@aur.nosp@m.ealis.nosp@m..de
Version
$Id$

Definition at line 34 of file class.ilObjCertificateSettingsAccess.php.

Member Function Documentation

◆ getBackgroundImageDefaultFolder()

static ilObjCertificateSettingsAccess::getBackgroundImageDefaultFolder ( )
static

Returns the filesystem path for the default background image.

Returns
string The filesystem path of the background image

Definition at line 58 of file class.ilObjCertificateSettingsAccess.php.

59 {
60 return CLIENT_WEB_DIR . "/certificates/default/";
61 }

Referenced by getBackgroundImagePath(), and getBackgroundImageThumbPath().

+ Here is the caller graph for this function:

◆ getBackgroundImageName()

static ilObjCertificateSettingsAccess::getBackgroundImageName ( )
static

Returns the filename of the background image.

Returns
string The filename of the background image

Definition at line 87 of file class.ilObjCertificateSettingsAccess.php.

88 {
89 return "background.jpg";
90 }

Referenced by ilCertificate\deliverExportFileXML(), getBackgroundImagePath(), and getBackgroundImageThumbPath().

+ Here is the caller graph for this function:

◆ getBackgroundImagePath()

static ilObjCertificateSettingsAccess::getBackgroundImagePath (   $asRelative = false)
static

Returns the filesystem path of the background image.

Parameters
bool$asRelative
Returns
string The filesystem path of the background image

Definition at line 68 of file class.ilObjCertificateSettingsAccess.php.

69 {
70 if($asRelative)
71 {
72 return str_replace(
73 array(CLIENT_WEB_DIR, '//'),
74 array('[CLIENT_WEB_DIR]', '/'),
76 );
77 }
78
80 }
static getBackgroundImageDefaultFolder()
Returns the filesystem path for the default background image.
static getBackgroundImageName()
Returns the filename of the background image.

References getBackgroundImageDefaultFolder(), and getBackgroundImageName().

Referenced by ilCertificate\deliverExportFileXML(), getBackgroundImagePathWeb(), hasBackgroundImage(), and ilCertificate\processXHTML2FO().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getBackgroundImagePathWeb()

static ilObjCertificateSettingsAccess::getBackgroundImagePathWeb ( )
static

Returns the web path of the background image.

Returns
string The web path of the background image

Definition at line 107 of file class.ilObjCertificateSettingsAccess.php.

108 {
109 include_once "./Services/Utilities/classes/class.ilUtil.php";
111 }
static getBackgroundImagePath($asRelative=false)
Returns the filesystem path of the background image.
static removeTrailingPathSeparators($path)

References getBackgroundImagePath(), and ilUtil\removeTrailingPathSeparators().

+ Here is the call graph for this function:

◆ getBackgroundImageThumbPath()

static ilObjCertificateSettingsAccess::getBackgroundImageThumbPath ( )
static

Returns the filesystem path of the background image thumbnail.

Returns
string The filesystem path of the background image thumbnail

Definition at line 97 of file class.ilObjCertificateSettingsAccess.php.

References getBackgroundImageDefaultFolder(), and getBackgroundImageName().

Referenced by getBackgroundImageThumbPathWeb().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getBackgroundImageThumbPathWeb()

static ilObjCertificateSettingsAccess::getBackgroundImageThumbPathWeb ( )
static

Returns the web path of the background image thumbnail.

Returns
string The web path of the background image thumbnail

Definition at line 118 of file class.ilObjCertificateSettingsAccess.php.

119 {
120 include_once "./Services/Utilities/classes/class.ilUtil.php";
122 }
static getBackgroundImageThumbPath()
Returns the filesystem path of the background image thumbnail.

References getBackgroundImageThumbPath(), and ilUtil\removeTrailingPathSeparators().

Referenced by ilCertificateGUI\certificateEditor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hasBackgroundImage()

static ilObjCertificateSettingsAccess::hasBackgroundImage ( )
static

Returns wheather or not a default background image exists.

Returns
boolean TRUE if a background image exists, FALSE otherwise

Definition at line 41 of file class.ilObjCertificateSettingsAccess.php.

42 {
44 {
45 return TRUE;
46 }
47 else
48 {
49 return FALSE;
50 }
51 }

References getBackgroundImagePath().

Referenced by ilCertificateGUI\certificateEditor(), ilCertificate\deliverExportFileXML(), and ilCertificate\processXHTML2FO().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: