ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilUserCertificate Class Reference
+ Collaboration diagram for ilUserCertificate:

Public Member Functions

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

 $patternCertificateId
 
 $objId
 
 $objType
 
 $userId
 
 $userName
 
 $acquiredTimestamp
 
 $certificateContent
 
 $templateValues
 
 $validUntil
 
 $version
 
 $iliasVersion
 
 $currentlyActive
 
 $id
 
 $backgroundImagePath
 
 $thumbnailImagePath
 

Detailed Description

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

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

Constructor & Destructor Documentation

◆ __construct()

ilUserCertificate::__construct (   $patternCertificateId,
  $objId,
  $objType,
  $userId,
  $userName,
  $acquiredTimestamp,
  $certificateContent,
  $templateValues,
  $validUntil,
  $version,
  $iliasVersion,
  $currentlyActive,
  $backgroundImagePath = null,
  $thumbnailImagePath = null,
  $id = null 
)
Parameters
integer$patternCertificateId
integer$objId
string$objType
integer$userId
string$userName
integer$acquiredTimestamp
string$certificateContent
string$templateValues
integer$validUntil
string$version
string$iliasVersion
boolean$currentlyActive
string | null$backgroundImagePath
null$thumbnailImagePath
integer | null$id

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

References $acquiredTimestamp, $backgroundImagePath, $certificateContent, $currentlyActive, $id, $iliasVersion, $objId, $objType, $patternCertificateId, $templateValues, $thumbnailImagePath, $userId, $userName, $validUntil, and $version.

117  {
118  $this->patternCertificateId = $patternCertificateId;
119  $this->objId = $objId;
120  $this->objType = $objType;
121  $this->userId = $userId;
122  $this->userName = $userName;
123  $this->acquiredTimestamp = $acquiredTimestamp;
124  $this->certificateContent = $certificateContent;
125  $this->templateValues = $templateValues;
126  $this->validUntil = $validUntil;
127  $this->version = $version;
128  $this->iliasVersion = $iliasVersion;
129  $this->currentlyActive = $currentlyActive;
130  $this->backgroundImagePath = $backgroundImagePath;
131  $this->thumbnailImagePath = $thumbnailImagePath;
132  $this->id = $id;
133  }

Member Function Documentation

◆ getAcquiredTimestamp()

ilUserCertificate::getAcquiredTimestamp ( )
Returns
int

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

References $acquiredTimestamp.

Referenced by ilUserCertificateRepository\save().

202  : int
203  {
205  }
+ Here is the caller graph for this function:

◆ getBackgroundImagePath()

ilUserCertificate::getBackgroundImagePath ( )
Returns
null|string

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

References $backgroundImagePath.

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

267  {
269  }
+ Here is the caller graph for this function:

◆ getCertificateContent()

ilUserCertificate::getCertificateContent ( )
Returns
string

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

References $certificateContent.

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

210  : string
211  {
213  }
+ Here is the caller graph for this function:

◆ getId()

ilUserCertificate::getId ( )
Returns
int|null

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

References $id.

258  : int
259  {
260  return $this->id;
261  }

◆ getIliasVersion()

ilUserCertificate::getIliasVersion ( )
Returns
string

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

References $iliasVersion.

Referenced by ilUserCertificateRepository\save().

242  : string
243  {
244  return $this->iliasVersion;
245  }
+ Here is the caller graph for this function:

◆ getObjId()

ilUserCertificate::getObjId ( )
Returns
int

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

References $objId.

Referenced by ilUserCertificateRepository\save().

170  : int
171  {
172  return $this->objId;
173  }
+ Here is the caller graph for this function:

◆ getObjType()

ilUserCertificate::getObjType ( )
Returns
string

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

References $objType.

Referenced by ilUserCertificateRepository\save().

178  : string
179  {
180  return $this->objType;
181  }
+ Here is the caller graph for this function:

◆ getPatternCertificateId()

ilUserCertificate::getPatternCertificateId ( )
Returns
int

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

References $patternCertificateId.

Referenced by ilUserCertificateRepository\save().

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

◆ getTemplateValues()

ilUserCertificate::getTemplateValues ( )
Returns
string

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

References $templateValues.

Referenced by ilUserCertificateRepository\save().

218  : string
219  {
220  return $this->templateValues;
221  }
+ Here is the caller graph for this function:

◆ getThumbnailImagePath()

ilUserCertificate::getThumbnailImagePath ( )
Returns
string

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

References $thumbnailImagePath.

Referenced by ilUserCertificateRepository\save().

274  : string
275  {
277  }
+ Here is the caller graph for this function:

◆ getUserId()

ilUserCertificate::getUserId ( )
Returns
int

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

References $userId.

Referenced by ilUserCertificateRepository\save().

186  : int
187  {
188  return $this->userId;
189  }
+ Here is the caller graph for this function:

◆ getUserName()

ilUserCertificate::getUserName ( )
Returns
string

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

References $userName.

Referenced by ilUserCertificateRepository\save().

194  : string
195  {
196  return $this->userName;
197  }
+ Here is the caller graph for this function:

◆ getValidUntil()

ilUserCertificate::getValidUntil ( )
Returns
int

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

References $validUntil.

Referenced by ilUserCertificateRepository\save().

227  {
228  return $this->validUntil;
229  }
+ Here is the caller graph for this function:

◆ getVersion()

ilUserCertificate::getVersion ( )
Returns
string

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

References $version.

234  : string
235  {
236  return $this->version;
237  }

◆ isCurrentlyActive()

ilUserCertificate::isCurrentlyActive ( )
Returns
bool

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

References $currentlyActive.

Referenced by ilUserCertificateRepository\save().

250  : bool
251  {
252  return $this->currentlyActive;
253  }
+ Here is the caller graph for this function:

◆ withId()

ilUserCertificate::withId ( int  $id)
Parameters
int$id
Returns
$this

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

References $id.

Referenced by ilUserCertificateRepository\save().

139  : self
140  {
141  $clone = clone $this;
142  $clone->id = $id;
143 
144  return $clone;
145  }
+ Here is the caller graph for this function:

◆ withVersion()

ilUserCertificate::withVersion ( int  $version)
Parameters
int$version
Returns
$this

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

References $version.

151  : self
152  {
153  $clone = clone $this;
154  $clone->version = $version;
155 
156  return $clone;
157  }

Field Documentation

◆ $acquiredTimestamp

ilUserCertificate::$acquiredTimestamp
private

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

Referenced by __construct(), and getAcquiredTimestamp().

◆ $backgroundImagePath

ilUserCertificate::$backgroundImagePath
private

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

Referenced by __construct(), and getBackgroundImagePath().

◆ $certificateContent

ilUserCertificate::$certificateContent
private

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

Referenced by __construct(), and getCertificateContent().

◆ $currentlyActive

ilUserCertificate::$currentlyActive
private

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

Referenced by __construct(), and isCurrentlyActive().

◆ $id

ilUserCertificate::$id
private

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

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

◆ $iliasVersion

ilUserCertificate::$iliasVersion
private

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

Referenced by __construct(), and getIliasVersion().

◆ $objId

ilUserCertificate::$objId
private

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

Referenced by __construct(), and getObjId().

◆ $objType

ilUserCertificate::$objType
private

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

Referenced by __construct(), and getObjType().

◆ $patternCertificateId

ilUserCertificate::$patternCertificateId
private

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

Referenced by __construct(), and getPatternCertificateId().

◆ $templateValues

ilUserCertificate::$templateValues
private

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

Referenced by __construct(), and getTemplateValues().

◆ $thumbnailImagePath

ilUserCertificate::$thumbnailImagePath
private

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

Referenced by __construct(), and getThumbnailImagePath().

◆ $userId

ilUserCertificate::$userId
private

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

Referenced by __construct(), and getUserId().

◆ $userName

ilUserCertificate::$userName
private

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

Referenced by __construct(), and getUserName().

◆ $validUntil

ilUserCertificate::$validUntil
private

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

Referenced by __construct(), and getValidUntil().

◆ $version

ilUserCertificate::$version
private

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

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


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