ILIAS  trunk Revision v12.0_alpha-1227-g7ff6d300864
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 $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 ()
 
 getBackgroundImageIdentification ()
 
 getObjType ()
 
 isDeleted ()
 
 getTileImageIdentification ()
 

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  $backgroundIdentification = '',
private readonly string  $tile_image_identification = '',
private readonly ?int  $id = null,
private readonly bool  $deleted = false 
)

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

40 {
41 if ($this->obj_type === '' || is_numeric($this->obj_type)) {
43 'Certificate template object type must be a non-numeric string '
44 . ', got ' . var_export($this->obj_type, true)
45 );
46 }
47 }

Member Function Documentation

◆ getBackgroundImageIdentification()

ilCertificateTemplate::getBackgroundImageIdentification ( )

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

94 : string
95 {
96 return $this->backgroundIdentification;
97 }

Referenced by ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ getCertificateContent()

ilCertificateTemplate::getCertificateContent ( )

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

54 : string
55 {
56 return $this->certificateContent;
57 }

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

+ Here is the caller graph for this function:

◆ getCertificateHash()

ilCertificateTemplate::getCertificateHash ( )

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

59 : string
60 {
61 return $this->certificateHash;
62 }

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

+ Here is the caller graph for this function:

◆ getCreatedTimestamp()

ilCertificateTemplate::getCreatedTimestamp ( )

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

79 : int
80 {
81 return $this->createdTimestamp;
82 }

Referenced by ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ getId()

ilCertificateTemplate::getId ( )

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

89 : ?int
90 {
91 return $this->id;
92 }
$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 74 of file class.ilCertificateTemplate.php.

74 : string
75 {
76 return $this->iliasVersion;
77 }

Referenced by ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ getObjId()

ilCertificateTemplate::getObjId ( )

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

49 : int
50 {
51 return $this->obj_id;
52 }

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

+ Here is the caller graph for this function:

◆ getObjType()

ilCertificateTemplate::getObjType ( )

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

99 : string
100 {
101 return $this->obj_type;
102 }

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

+ Here is the caller graph for this function:

◆ getTemplateValues()

ilCertificateTemplate::getTemplateValues ( )

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

64 : string
65 {
66 return $this->templateValues;
67 }

Referenced by ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ getTileImageIdentification()

ilCertificateTemplate::getTileImageIdentification ( )

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

109 : string
110 {
111 return $this->tile_image_identification;
112 }

Referenced by ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ getVersion()

ilCertificateTemplate::getVersion ( )

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

69 : int
70 {
71 return $this->version;
72 }
$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 84 of file class.ilCertificateTemplate.php.

84 : bool
85 {
86 return $this->currentlyActive;
87 }

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

+ Here is the caller graph for this function:

◆ isDeleted()

ilCertificateTemplate::isDeleted ( )

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

104 : bool
105 {
106 return $this->deleted;
107 }

Referenced by ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

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