ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
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, private readonly CertificateId $certificate_id, ?string $backgroundImageIdentification=null, ?string $tile_image_identification=null, private ?int $id=null)
 
 withId (int $id)
 
 withVersion (int $version)
 
 getPatternCertificateId ()
 
 getObjId ()
 
 getObjType ()
 
 getUserId ()
 
 getUserName ()
 
 getAcquiredTimestamp ()
 
 getCertificateContent ()
 
 getTemplateValues ()
 
 getValidUntil ()
 
 getVersion ()
 
 getIliasVersion ()
 
 isCurrentlyActive ()
 
 getId ()
 
 getBackgroundImageIdentification ()
 
 getTileImageIdentification ()
 
 getCertificateId ()
 

Private Attributes

readonly int $validUntil
 
readonly string $backgroundImageIdentification
 
readonly string $tile_image_identification
 

Detailed Description

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

Definition at line 26 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,
private readonly CertificateId  $certificate_id,
?string  $backgroundImageIdentification = null,
?string  $tile_image_identification = null,
private ?int  $id = null 
)

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

49 {
50 $this->validUntil = (int) $validUntil;
51 $this->backgroundImageIdentification = (string) $backgroundImageIdentification;
52 $this->tile_image_identification = (string) $tile_image_identification;
53 }
readonly string $backgroundImageIdentification
readonly string $tile_image_identification

References $backgroundImageIdentification, $tile_image_identification, $validUntil, and ILIAS\Repository\int().

+ Here is the call graph for this function:

Member Function Documentation

◆ getAcquiredTimestamp()

ilUserCertificate::getAcquiredTimestamp ( )

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

96 : int
97 {
98 return $this->acquiredTimestamp;
99 }

Referenced by ilUserCertificateRepository\save().

+ Here is the caller graph for this function:

◆ getBackgroundImageIdentification()

ilUserCertificate::getBackgroundImageIdentification ( )

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

136 : string
137 {
139 }

References $backgroundImageIdentification.

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

+ Here is the caller graph for this function:

◆ getCertificateContent()

ilUserCertificate::getCertificateContent ( )

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

101 : string
102 {
103 return $this->certificateContent;
104 }

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

+ Here is the caller graph for this function:

◆ getCertificateId()

ilUserCertificate::getCertificateId ( )

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

147 {
148 return $this->certificate_id;
149 }

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

+ Here is the caller graph for this function:

◆ getId()

ilUserCertificate::getId ( )

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

131 : ?int
132 {
133 return $this->id;
134 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23

References $id.

◆ getIliasVersion()

ilUserCertificate::getIliasVersion ( )

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

121 : string
122 {
123 return $this->iliasVersion;
124 }

Referenced by ilUserCertificateRepository\save().

+ Here is the caller graph for this function:

◆ getObjId()

ilUserCertificate::getObjId ( )

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

76 : int
77 {
78 return $this->objId;
79 }
$objId
Definition: xapitoken.php:55

References $objId.

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

+ Here is the caller graph for this function:

◆ getObjType()

ilUserCertificate::getObjType ( )

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

81 : string
82 {
83 return $this->objType;
84 }

Referenced by ilUserCertificateRepository\save().

+ Here is the caller graph for this function:

◆ getPatternCertificateId()

ilUserCertificate::getPatternCertificateId ( )

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

71 : int
72 {
73 return $this->patternCertificateId;
74 }

Referenced by ilUserCertificateRepository\save().

+ Here is the caller graph for this function:

◆ getTemplateValues()

ilUserCertificate::getTemplateValues ( )

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

106 : string
107 {
108 return $this->templateValues;
109 }

Referenced by ilUserCertificateRepository\save().

+ Here is the caller graph for this function:

◆ getTileImageIdentification()

ilUserCertificate::getTileImageIdentification ( )

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

141 : string
142 {
144 }

References $tile_image_identification.

Referenced by ilUserCertificateRepository\save().

+ Here is the caller graph for this function:

◆ getUserId()

ilUserCertificate::getUserId ( )

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

86 : int
87 {
88 return $this->userId;
89 }

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

+ Here is the caller graph for this function:

◆ getUserName()

ilUserCertificate::getUserName ( )

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

91 : string
92 {
93 return $this->userName;
94 }

Referenced by ilUserCertificateRepository\save().

+ Here is the caller graph for this function:

◆ getValidUntil()

ilUserCertificate::getValidUntil ( )

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

111 : int
112 {
113 return $this->validUntil;
114 }

References $validUntil.

Referenced by ilUserCertificateRepository\save().

+ Here is the caller graph for this function:

◆ getVersion()

ilUserCertificate::getVersion ( )

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

116 : int
117 {
118 return $this->version;
119 }
$version
Definition: plugin.php:24

References $version.

◆ isCurrentlyActive()

ilUserCertificate::isCurrentlyActive ( )

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

126 : bool
127 {
128 return $this->currentlyActive;
129 }

Referenced by ilUserCertificateRepository\save().

+ Here is the caller graph for this function:

◆ withId()

ilUserCertificate::withId ( int  $id)

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

55 : self
56 {
57 $clone = clone $this;
58 $clone->id = $id;
59
60 return $clone;
61 }

References $id.

Referenced by ilUserCertificateRepository\save().

+ Here is the caller graph for this function:

◆ withVersion()

ilUserCertificate::withVersion ( int  $version)

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

63 : self
64 {
65 $clone = clone $this;
66 $clone->version = $version;
67
68 return $clone;
69 }

References $version.

Field Documentation

◆ $backgroundImageIdentification

readonly string ilUserCertificate::$backgroundImageIdentification
private

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

Referenced by __construct(), and getBackgroundImageIdentification().

◆ $tile_image_identification

readonly string ilUserCertificate::$tile_image_identification
private

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

Referenced by __construct(), and getTileImageIdentification().

◆ $validUntil

readonly int ilUserCertificate::$validUntil
private

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

Referenced by __construct(), and getValidUntil().


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