ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ilUserCertificate Class Reference
+ Collaboration diagram for ilUserCertificate:

Public Member Functions

 __construct (private readonly int $patternCertificateId, private readonly int $objId, private readonly string $objType, private readonly int $userId, private readonly string $userName, private readonly int $acquiredTimestamp, private readonly string $certificateContent, private readonly string $templateValues, ?int $validUntil, private int $version, private readonly string $iliasVersion, private readonly bool $currentlyActive, ?string $backgroundImagePath=null, ?string $thumbnailImagePath=null, private ?int $id=null)
 
 withId (int $id)
 
 withVersion (int $version)
 
 getPatternCertificateId ()
 
 getObjId ()
 
 getObjType ()
 
 getUserId ()
 
 getUserName ()
 
 getAcquiredTimestamp ()
 
 getCertificateContent ()
 
 getTemplateValues ()
 
 getValidUntil ()
 
 getVersion ()
 
 getIliasVersion ()
 
 isCurrentlyActive ()
 
 getId ()
 
 getBackgroundImagePath ()
 
 getThumbnailImagePath ()
 

Private Attributes

readonly int $validUntil
 
readonly string $backgroundImagePath
 
readonly string $thumbnailImagePath
 

Detailed Description

Author
Niels Theen nthee.nosp@m.n@da.nosp@m.tabay.nosp@m..de

Definition at line 24 of file class.ilUserCertificate.php.

Constructor & Destructor Documentation

◆ __construct()

ilUserCertificate::__construct ( private readonly int  $patternCertificateId,
private readonly int  $objId,
private readonly string  $objType,
private readonly int  $userId,
private readonly string  $userName,
private readonly int  $acquiredTimestamp,
private readonly string  $certificateContent,
private readonly string  $templateValues,
?int  $validUntil,
private int  $version,
private readonly string  $iliasVersion,
private readonly bool  $currentlyActive,
?string  $backgroundImagePath = null,
?string  $thumbnailImagePath = null,
private ?int  $id = null 
)

Definition at line 30 of file class.ilUserCertificate.php.

References ILIAS\Repository\int().

46  {
47  $this->validUntil = (int) $validUntil;
48  $this->backgroundImagePath = (string) $backgroundImagePath;
49  $this->thumbnailImagePath = (string) $thumbnailImagePath;
50  }
readonly string $backgroundImagePath
readonly string $thumbnailImagePath
+ Here is the call graph for this function:

Member Function Documentation

◆ getAcquiredTimestamp()

ilUserCertificate::getAcquiredTimestamp ( )

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

Referenced by ilUserCertificateRepository\save().

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

◆ getBackgroundImagePath()

ilUserCertificate::getBackgroundImagePath ( )

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

References $backgroundImagePath.

Referenced by ilPdfGenerator\createPDFScalar(), and ilUserCertificateRepository\save().

133  : ?string
134  {
136  }
readonly string $backgroundImagePath
+ Here is the caller graph for this function:

◆ getCertificateContent()

ilUserCertificate::getCertificateContent ( )

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

Referenced by ilPdfGenerator\createPDFScalar(), and ilUserCertificateRepository\save().

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

◆ getId()

ilUserCertificate::getId ( )

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

References $id.

128  : ?int
129  {
130  return $this->id;
131  }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23

◆ getIliasVersion()

ilUserCertificate::getIliasVersion ( )

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

Referenced by ilUserCertificateRepository\save().

118  : string
119  {
120  return $this->iliasVersion;
121  }
+ Here is the caller graph for this function:

◆ getObjId()

ilUserCertificate::getObjId ( )

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

References $objId.

Referenced by ilUserCertificateRepository\save().

73  : int
74  {
75  return $this->objId;
76  }
$objId
Definition: xapitoken.php:57
+ Here is the caller graph for this function:

◆ getObjType()

ilUserCertificate::getObjType ( )

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

Referenced by ilUserCertificateRepository\save().

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

◆ getPatternCertificateId()

ilUserCertificate::getPatternCertificateId ( )

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

Referenced by ilUserCertificateRepository\save().

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

◆ getTemplateValues()

ilUserCertificate::getTemplateValues ( )

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

Referenced by ilUserCertificateRepository\save().

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

◆ getThumbnailImagePath()

ilUserCertificate::getThumbnailImagePath ( )

Definition at line 138 of file class.ilUserCertificate.php.

References $thumbnailImagePath.

Referenced by ilUserCertificateRepository\save().

138  : string
139  {
141  }
readonly string $thumbnailImagePath
+ Here is the caller graph for this function:

◆ getUserId()

ilUserCertificate::getUserId ( )

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

Referenced by ilUserCertificateRepository\save().

83  : int
84  {
85  return $this->userId;
86  }
+ Here is the caller graph for this function:

◆ getUserName()

ilUserCertificate::getUserName ( )

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

Referenced by ilUserCertificateRepository\save().

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

◆ getValidUntil()

ilUserCertificate::getValidUntil ( )

Definition at line 108 of file class.ilUserCertificate.php.

References $validUntil.

Referenced by ilUserCertificateRepository\save().

108  : int
109  {
110  return $this->validUntil;
111  }
+ Here is the caller graph for this function:

◆ getVersion()

ilUserCertificate::getVersion ( )

Definition at line 113 of file class.ilUserCertificate.php.

References $version.

113  : int
114  {
115  return $this->version;
116  }
$version
Definition: plugin.php:24

◆ isCurrentlyActive()

ilUserCertificate::isCurrentlyActive ( )

Definition at line 123 of file class.ilUserCertificate.php.

Referenced by ilUserCertificateRepository\save().

123  : bool
124  {
125  return $this->currentlyActive;
126  }
+ Here is the caller graph for this function:

◆ withId()

ilUserCertificate::withId ( int  $id)

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

References $id.

Referenced by ilUserCertificateRepository\save().

52  : self
53  {
54  $clone = clone $this;
55  $clone->id = $id;
56 
57  return $clone;
58  }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
+ Here is the caller graph for this function:

◆ withVersion()

ilUserCertificate::withVersion ( int  $version)

Definition at line 60 of file class.ilUserCertificate.php.

References $version.

60  : self
61  {
62  $clone = clone $this;
63  $clone->version = $version;
64 
65  return $clone;
66  }
$version
Definition: plugin.php:24

Field Documentation

◆ $backgroundImagePath

readonly string ilUserCertificate::$backgroundImagePath
private

Definition at line 27 of file class.ilUserCertificate.php.

Referenced by getBackgroundImagePath().

◆ $thumbnailImagePath

readonly string ilUserCertificate::$thumbnailImagePath
private

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

Referenced by getThumbnailImagePath().

◆ $validUntil

readonly int ilUserCertificate::$validUntil
private

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

Referenced by getValidUntil().


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