ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilCertificateTemplate Class Reference
+ Collaboration diagram for ilCertificateTemplate:

Public Member Functions

 __construct (private readonly int $obj_id, private readonly string $obj_type, private readonly string $certificateContent, private readonly string $certificateHash, private readonly string $templateValues, private readonly int $version, private readonly string $iliasVersion, private readonly int $createdTimestamp, private readonly bool $currentlyActive, private readonly string $backgroundImagePath='', private readonly string $tile_image_path='', private readonly string $backgroundIdentification='', private readonly string $tile_image_identification='', private readonly ?int $id=null, private readonly bool $deleted=false)
 
 getObjId ()
 
 getCertificateContent ()
 
 getCertificateHash ()
 
 getTemplateValues ()
 
 getVersion ()
 
 getIliasVersion ()
 
 getCreatedTimestamp ()
 
 isCurrentlyActive ()
 
 getId ()
 
 getCurrentBackgroundImageUsed ()
 
 getBackgroundImageIdentification ()
 
 getBackgroundImagePath ()
 
 getObjType ()
 
 isDeleted ()
 
 getCurrentTileImageUsed ()
 
 getTileImageIdentification ()
 
 getTileImagePath ()
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilCertificateTemplate::__construct ( private readonly int  $obj_id,
private readonly string  $obj_type,
private readonly string  $certificateContent,
private readonly string  $certificateHash,
private readonly string  $templateValues,
private readonly int  $version,
private readonly string  $iliasVersion,
private readonly int  $createdTimestamp,
private readonly bool  $currentlyActive,
private readonly string  $backgroundImagePath = '',
private readonly string  $tile_image_path = '',
private readonly string  $backgroundIdentification = '',
private readonly string  $tile_image_identification = '',
private readonly ?int  $id = null,
private readonly bool  $deleted = false 
)

Definition at line 28 of file class.ilCertificateTemplate.php.

44 {
45 }

Member Function Documentation

◆ getBackgroundImageIdentification()

ilCertificateTemplate::getBackgroundImageIdentification ( )

Definition at line 100 of file class.ilCertificateTemplate.php.

100 : string
101 {
102 return $this->backgroundIdentification;
103 }

Referenced by getCurrentBackgroundImageUsed(), and ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ getBackgroundImagePath()

ilCertificateTemplate::getBackgroundImagePath ( )

Definition at line 105 of file class.ilCertificateTemplate.php.

105 : string
106 {
107 return $this->backgroundImagePath;
108 }

Referenced by getCurrentBackgroundImageUsed(), and ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ getCertificateContent()

ilCertificateTemplate::getCertificateContent ( )

Definition at line 52 of file class.ilCertificateTemplate.php.

52 : string
53 {
54 return $this->certificateContent;
55 }

Referenced by ilCertificateGUI\createFormatArray(), and ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ getCertificateHash()

ilCertificateTemplate::getCertificateHash ( )

Definition at line 57 of file class.ilCertificateTemplate.php.

57 : string
58 {
59 return $this->certificateHash;
60 }

Referenced by ilCertificateGUI\createFormatArray(), and ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ getCreatedTimestamp()

ilCertificateTemplate::getCreatedTimestamp ( )

Definition at line 77 of file class.ilCertificateTemplate.php.

77 : int
78 {
79 return $this->createdTimestamp;
80 }

Referenced by ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ getCurrentBackgroundImageUsed()

ilCertificateTemplate::getCurrentBackgroundImageUsed ( )

Definition at line 92 of file class.ilCertificateTemplate.php.

92 : string
93 {
94 if ($this->getBackgroundImageIdentification() === '' || $this->getBackgroundImageIdentification() === '-') {
95 return $this->getBackgroundImagePath();
96 }
98 }

References getBackgroundImageIdentification(), and getBackgroundImagePath().

+ Here is the call graph for this function:

◆ getCurrentTileImageUsed()

ilCertificateTemplate::getCurrentTileImageUsed ( )

Definition at line 120 of file class.ilCertificateTemplate.php.

120 : string
121 {
122 if ($this->getTileImageIdentification() === '' || $this->getTileImageIdentification() === '-') {
123 return $this->getTileImagePath();
124 }
125 return $this->getTileImageIdentification();
126 }

References getTileImageIdentification(), and getTileImagePath().

+ Here is the call graph for this function:

◆ getId()

ilCertificateTemplate::getId ( )

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

87 : ?int
88 {
89 return $this->id;
90 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23

References $id.

Referenced by ILIAS\Certificate\API\UserCertificateAPI\certificateCriteriaMetForGivenTemplate(), and ilCertificateTemplateDatabaseRepository\updateActivity().

+ Here is the caller graph for this function:

◆ getIliasVersion()

ilCertificateTemplate::getIliasVersion ( )

Definition at line 72 of file class.ilCertificateTemplate.php.

72 : string
73 {
74 return $this->iliasVersion;
75 }

Referenced by ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ getObjId()

ilCertificateTemplate::getObjId ( )

Definition at line 47 of file class.ilCertificateTemplate.php.

47 : int
48 {
49 return $this->obj_id;
50 }

Referenced by ILIAS\Certificate\API\UserCertificateAPI\certificateCriteriaMetForGivenTemplate(), and ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ getObjType()

ilCertificateTemplate::getObjType ( )

Definition at line 110 of file class.ilCertificateTemplate.php.

110 : string
111 {
112 return $this->obj_type;
113 }

Referenced by ILIAS\Certificate\API\UserCertificateAPI\certificateCriteriaMetForGivenTemplate(), and ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ getTemplateValues()

ilCertificateTemplate::getTemplateValues ( )

Definition at line 62 of file class.ilCertificateTemplate.php.

62 : string
63 {
64 return $this->templateValues;
65 }

Referenced by ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ getTileImageIdentification()

ilCertificateTemplate::getTileImageIdentification ( )

Definition at line 128 of file class.ilCertificateTemplate.php.

128 : string
129 {
130 return $this->tile_image_identification;
131 }

Referenced by getCurrentTileImageUsed(), and ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ getTileImagePath()

ilCertificateTemplate::getTileImagePath ( )

Definition at line 133 of file class.ilCertificateTemplate.php.

133 : string
134 {
135 return $this->tile_image_path;
136 }

Referenced by getCurrentTileImageUsed(), and ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ getVersion()

ilCertificateTemplate::getVersion ( )

Definition at line 67 of file class.ilCertificateTemplate.php.

67 : int
68 {
69 return $this->version;
70 }
$version
Definition: plugin.php:24

References $version.

Referenced by ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ isCurrentlyActive()

ilCertificateTemplate::isCurrentlyActive ( )

Definition at line 82 of file class.ilCertificateTemplate.php.

82 : bool
83 {
84 return $this->currentlyActive;
85 }

Referenced by ILIAS\Certificate\API\UserCertificateAPI\certificateCriteriaMetForGivenTemplate(), and ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ isDeleted()

ilCertificateTemplate::isDeleted ( )

Definition at line 115 of file class.ilCertificateTemplate.php.

115 : bool
116 {
117 return $this->deleted;
118 }

Referenced by ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

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