ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilUserCertificate Class Reference
+ Collaboration diagram for ilUserCertificate:

Public Member Functions

 __construct (int $patternCertificateId, int $objId, string $objType, int $userId, string $userName, int $acquiredTimestamp, string $certificateContent, string $templateValues, ?int $validUntil, int $version, string $iliasVersion, bool $currentlyActive, ?string $backgroundImagePath=null, ?string $thumbnailImagePath=null, ?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

int $patternCertificateId
 
int $objId
 
string $objType
 
int $userId
 
string $userName
 
int $acquiredTimestamp
 
string $certificateContent
 
string $templateValues
 
int $validUntil
 
int $version
 
string $iliasVersion
 
bool $currentlyActive
 
int $id
 
string $backgroundImagePath
 
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 ( int  $patternCertificateId,
int  $objId,
string  $objType,
int  $userId,
string  $userName,
int  $acquiredTimestamp,
string  $certificateContent,
string  $templateValues,
?int  $validUntil,
int  $version,
string  $iliasVersion,
bool  $currentlyActive,
?string  $backgroundImagePath = null,
?string  $thumbnailImagePath = null,
?int  $id = null 
)

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

References $acquiredTimestamp, $certificateContent, $currentlyActive, $id, $iliasVersion, $objId, $objType, $patternCertificateId, $templateValues, $userId, $userName, $version, and ILIAS\Repository\int().

58  {
59  $this->patternCertificateId = $patternCertificateId;
60  $this->objId = $objId;
61  $this->objType = $objType;
62  $this->userId = $userId;
63  $this->userName = $userName;
64  $this->acquiredTimestamp = $acquiredTimestamp;
65  $this->certificateContent = $certificateContent;
66  $this->templateValues = $templateValues;
67  $this->validUntil = (int) $validUntil;
68  $this->version = $version;
69  $this->iliasVersion = $iliasVersion;
70  $this->currentlyActive = $currentlyActive;
71  $this->backgroundImagePath = (string) $backgroundImagePath;
72  $this->thumbnailImagePath = (string) $thumbnailImagePath;
73  $this->id = $id;
74  }
+ Here is the call graph for this function:

Member Function Documentation

◆ getAcquiredTimestamp()

ilUserCertificate::getAcquiredTimestamp ( )

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

References $acquiredTimestamp.

Referenced by ilUserCertificateRepository\save().

117  : int
118  {
120  }
+ Here is the caller graph for this function:

◆ getBackgroundImagePath()

ilUserCertificate::getBackgroundImagePath ( )

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

References $backgroundImagePath.

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

157  : ?string
158  {
160  }
+ Here is the caller graph for this function:

◆ getCertificateContent()

ilUserCertificate::getCertificateContent ( )

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

References $certificateContent.

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

122  : string
123  {
125  }
+ Here is the caller graph for this function:

◆ getId()

ilUserCertificate::getId ( )

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

References $id.

152  : ?int
153  {
154  return $this->id;
155  }

◆ getIliasVersion()

ilUserCertificate::getIliasVersion ( )

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

References $iliasVersion.

Referenced by ilUserCertificateRepository\save().

142  : string
143  {
144  return $this->iliasVersion;
145  }
+ Here is the caller graph for this function:

◆ getObjId()

ilUserCertificate::getObjId ( )

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

References $objId.

Referenced by ilUserCertificateRepository\save().

97  : int
98  {
99  return $this->objId;
100  }
+ Here is the caller graph for this function:

◆ getObjType()

ilUserCertificate::getObjType ( )

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

References $objType.

Referenced by ilUserCertificateRepository\save().

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

◆ getPatternCertificateId()

ilUserCertificate::getPatternCertificateId ( )

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

References $patternCertificateId.

Referenced by ilUserCertificateRepository\save().

92  : int
93  {
95  }
+ Here is the caller graph for this function:

◆ getTemplateValues()

ilUserCertificate::getTemplateValues ( )

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

References $templateValues.

Referenced by ilUserCertificateRepository\save().

127  : string
128  {
129  return $this->templateValues;
130  }
+ Here is the caller graph for this function:

◆ getThumbnailImagePath()

ilUserCertificate::getThumbnailImagePath ( )

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

References $thumbnailImagePath.

Referenced by ilUserCertificateRepository\save().

162  : string
163  {
165  }
+ Here is the caller graph for this function:

◆ getUserId()

ilUserCertificate::getUserId ( )

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

References $userId.

Referenced by ilUserCertificateRepository\save().

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

◆ getUserName()

ilUserCertificate::getUserName ( )

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

References $userName.

Referenced by ilUserCertificateRepository\save().

112  : string
113  {
114  return $this->userName;
115  }
+ Here is the caller graph for this function:

◆ getValidUntil()

ilUserCertificate::getValidUntil ( )

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

References $validUntil.

Referenced by ilUserCertificateRepository\save().

132  : int
133  {
134  return $this->validUntil;
135  }
+ Here is the caller graph for this function:

◆ getVersion()

ilUserCertificate::getVersion ( )

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

References $version.

137  : int
138  {
139  return $this->version;
140  }

◆ isCurrentlyActive()

ilUserCertificate::isCurrentlyActive ( )

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

References $currentlyActive.

Referenced by ilUserCertificateRepository\save().

147  : bool
148  {
149  return $this->currentlyActive;
150  }
+ Here is the caller graph for this function:

◆ withId()

ilUserCertificate::withId ( int  $id)

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

References $id.

Referenced by ilUserCertificateRepository\save().

76  : self
77  {
78  $clone = clone $this;
79  $clone->id = $id;
80 
81  return $clone;
82  }
+ Here is the caller graph for this function:

◆ withVersion()

ilUserCertificate::withVersion ( int  $version)

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

References $version.

84  : self
85  {
86  $clone = clone $this;
87  $clone->version = $version;
88 
89  return $clone;
90  }

Field Documentation

◆ $acquiredTimestamp

int ilUserCertificate::$acquiredTimestamp
private

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

Referenced by __construct(), and getAcquiredTimestamp().

◆ $backgroundImagePath

string ilUserCertificate::$backgroundImagePath
private

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

Referenced by getBackgroundImagePath().

◆ $certificateContent

string ilUserCertificate::$certificateContent
private

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

Referenced by __construct(), and getCertificateContent().

◆ $currentlyActive

bool ilUserCertificate::$currentlyActive
private

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

Referenced by __construct(), and isCurrentlyActive().

◆ $id

int ilUserCertificate::$id
private

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

Referenced by __construct(), getId(), and withId().

◆ $iliasVersion

string ilUserCertificate::$iliasVersion
private

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

Referenced by __construct(), and getIliasVersion().

◆ $objId

int ilUserCertificate::$objId
private

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

Referenced by __construct(), and getObjId().

◆ $objType

string ilUserCertificate::$objType
private

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

Referenced by __construct(), and getObjType().

◆ $patternCertificateId

int ilUserCertificate::$patternCertificateId
private

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

Referenced by __construct(), and getPatternCertificateId().

◆ $templateValues

string ilUserCertificate::$templateValues
private

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

Referenced by __construct(), and getTemplateValues().

◆ $thumbnailImagePath

string ilUserCertificate::$thumbnailImagePath
private

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

Referenced by getThumbnailImagePath().

◆ $userId

int ilUserCertificate::$userId
private

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

Referenced by __construct(), and getUserId().

◆ $userName

string ilUserCertificate::$userName
private

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

Referenced by __construct(), and getUserName().

◆ $validUntil

int ilUserCertificate::$validUntil
private

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

Referenced by getValidUntil().

◆ $version

int ilUserCertificate::$version
private

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

Referenced by __construct(), getVersion(), and withVersion().


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