ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
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 $thumbnailImagePath='', private readonly ?int $id=null, private readonly bool $deleted=false)
 
 getObjId ()
 
 getCertificateContent ()
 
 getCertificateHash ()
 
 getTemplateValues ()
 
 getVersion ()
 
 getIliasVersion ()
 
 getCreatedTimestamp ()
 
 isCurrentlyActive ()
 
 getId ()
 
 getBackgroundImagePath ()
 
 getObjType ()
 
 isDeleted ()
 
 getThumbnailImagePath ()
 

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

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

40  {
41  }

Member Function Documentation

◆ getBackgroundImagePath()

ilCertificateTemplate::getBackgroundImagePath ( )

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

Referenced by ilCertificateTemplatePreviewAction\exchangeCertificateVariables(), ilCertificateBackgroundImageFileService\hasBackgroundImage(), and ilCertificateTemplateDatabaseRepository\save().

88  : string
89  {
90  return $this->backgroundImagePath;
91  }
+ Here is the caller graph for this function:

◆ getCertificateContent()

ilCertificateTemplate::getCertificateContent ( )

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

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

48  : string
49  {
50  return $this->certificateContent;
51  }
+ Here is the caller graph for this function:

◆ getCertificateHash()

ilCertificateTemplate::getCertificateHash ( )

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

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

53  : string
54  {
55  return $this->certificateHash;
56  }
+ Here is the caller graph for this function:

◆ getCreatedTimestamp()

ilCertificateTemplate::getCreatedTimestamp ( )

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

Referenced by ilCertificateTemplateDatabaseRepository\save().

73  : int
74  {
75  return $this->createdTimestamp;
76  }
+ Here is the caller graph for this function:

◆ getId()

ilCertificateTemplate::getId ( )

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

References $id.

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

83  : ?int
84  {
85  return $this->id;
86  }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
+ Here is the caller graph for this function:

◆ getIliasVersion()

ilCertificateTemplate::getIliasVersion ( )

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

Referenced by ilCertificateTemplateDatabaseRepository\save().

68  : string
69  {
70  return $this->iliasVersion;
71  }
+ Here is the caller graph for this function:

◆ getObjId()

ilCertificateTemplate::getObjId ( )

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

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

43  : int
44  {
45  return $this->obj_id;
46  }
+ Here is the caller graph for this function:

◆ getObjType()

ilCertificateTemplate::getObjType ( )

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

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

93  : string
94  {
95  return $this->obj_type;
96  }
+ Here is the caller graph for this function:

◆ getTemplateValues()

ilCertificateTemplate::getTemplateValues ( )

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

Referenced by ilCertificateTemplateDatabaseRepository\save().

58  : string
59  {
60  return $this->templateValues;
61  }
+ Here is the caller graph for this function:

◆ getThumbnailImagePath()

ilCertificateTemplate::getThumbnailImagePath ( )

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

Referenced by ilCertificateTemplateDatabaseRepository\save().

103  : string
104  {
105  return $this->thumbnailImagePath;
106  }
+ Here is the caller graph for this function:

◆ getVersion()

ilCertificateTemplate::getVersion ( )

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

References $version.

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

63  : int
64  {
65  return $this->version;
66  }
$version
Definition: plugin.php:24
+ Here is the caller graph for this function:

◆ isCurrentlyActive()

ilCertificateTemplate::isCurrentlyActive ( )

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

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

78  : bool
79  {
80  return $this->currentlyActive;
81  }
+ Here is the caller graph for this function:

◆ isDeleted()

ilCertificateTemplate::isDeleted ( )

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

Referenced by ilCertificateTemplateDatabaseRepository\save().

98  : bool
99  {
100  return $this->deleted;
101  }
+ Here is the caller graph for this function:

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