ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
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 ()
 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 _isOffline ($a_obj_id)
 Type-specific implementation of general status, has to be overwritten. 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...
 
 _getCommands ()
 get commands More...
 
 _checkGoto ($a_target)
 check whether goto script will succeed More...
 
 _preloadData ($a_obj_ids, $a_ref_ids)
 Preload data. 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.

Referenced by getBackgroundImagePath(), and getBackgroundImageThumbPath().

59  {
60  return CLIENT_WEB_DIR . "/certificates/default/";
61  }
+ 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 78 of file class.ilObjCertificateSettingsAccess.php.

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

79  {
80  return "background.jpg";
81  }
+ Here is the caller graph for this function:

◆ getBackgroundImagePath()

static ilObjCertificateSettingsAccess::getBackgroundImagePath ( )
static

Returns the filesystem path of the background image.

Returns
string The filesystem path of the background image

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

References getBackgroundImageDefaultFolder(), and getBackgroundImageName().

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

69  {
71  }
static getBackgroundImageDefaultFolder()
Returns the filesystem path for the default background image.
static getBackgroundImageName()
Returns the filename of the background image.
+ 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 98 of file class.ilObjCertificateSettingsAccess.php.

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

99  {
100  include_once "./Services/Utilities/classes/class.ilUtil.php";
102  }
const ILIAS_ABSOLUTE_PATH
static removeTrailingPathSeparators($path)
static getBackgroundImagePath()
Returns the filesystem path of the background image.
+ 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 88 of file class.ilObjCertificateSettingsAccess.php.

References getBackgroundImageDefaultFolder(), and getBackgroundImageName().

Referenced by getBackgroundImageThumbPathWeb().

89  {
91  }
static getBackgroundImageDefaultFolder()
Returns the filesystem path for the default background image.
static getBackgroundImageName()
Returns the filename of the background image.
+ 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 109 of file class.ilObjCertificateSettingsAccess.php.

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

Referenced by ilCertificateGUI\certificateEditor().

110  {
111  include_once "./Services/Utilities/classes/class.ilUtil.php";
113  }
static getBackgroundImageThumbPath()
Returns the filesystem path of the background image thumbnail.
const ILIAS_ABSOLUTE_PATH
static removeTrailingPathSeparators($path)
+ 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.

References getBackgroundImagePath().

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

42  {
44  {
45  return TRUE;
46  }
47  else
48  {
49  return FALSE;
50  }
51  }
static getBackgroundImagePath()
Returns the filesystem path of the background image.
+ 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: