ILIAS  release_8 Revision v8.23
ilCertificateTemplate Class Reference
+ Collaboration diagram for ilCertificateTemplate:

Public Member Functions

 __construct (int $obj_id, string $obj_type, string $certificateContent, string $certificateHash, string $templateValues, int $version, string $iliasVersion, int $createdTimestamp, bool $currentlyActive, string $backgroundImagePath='', string $thumbnailImagePath='', ?int $id=null, bool $deleted=false)
 
 getObjId ()
 
 getCertificateContent ()
 
 getCertificateHash ()
 
 getTemplateValues ()
 
 getVersion ()
 
 getIliasVersion ()
 
 getCreatedTimestamp ()
 
 isCurrentlyActive ()
 
 getId ()
 
 getBackgroundImagePath ()
 
 getObjType ()
 
 isDeleted ()
 
 getThumbnailImagePath ()
 

Private Attributes

int $obj_id
 
string $certificateContent
 
string $certificateHash
 
string $templateValues
 
int $version
 
string $iliasVersion
 
int $createdTimestamp
 
bool $currentlyActive
 
int $id
 
string $backgroundImagePath
 
string $obj_type
 
bool $deleted
 
string $thumbnailImagePath
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilCertificateTemplate::__construct ( int  $obj_id,
string  $obj_type,
string  $certificateContent,
string  $certificateHash,
string  $templateValues,
int  $version,
string  $iliasVersion,
int  $createdTimestamp,
bool  $currentlyActive,
string  $backgroundImagePath = '',
string  $thumbnailImagePath = '',
?int  $id = null,
bool  $deleted = false 
)

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

References $backgroundImagePath, $certificateContent, $certificateHash, $createdTimestamp, $currentlyActive, $deleted, $id, $iliasVersion, $obj_id, $obj_type, $templateValues, $thumbnailImagePath, and $version.

54  {
55  $this->obj_id = $obj_id;
56  $this->obj_type = $obj_type;
57  $this->certificateContent = $certificateContent;
58  $this->certificateHash = $certificateHash;
59  $this->templateValues = $templateValues;
60  $this->version = $version;
61  $this->iliasVersion = $iliasVersion;
62  $this->createdTimestamp = $createdTimestamp;
63  $this->currentlyActive = $currentlyActive;
64  $this->backgroundImagePath = $backgroundImagePath;
65  $this->thumbnailImagePath = $thumbnailImagePath;
66  $this->id = $id;
67  $this->deleted = $deleted;
68  }

Member Function Documentation

◆ getBackgroundImagePath()

ilCertificateTemplate::getBackgroundImagePath ( )

◆ getCertificateContent()

ilCertificateTemplate::getCertificateContent ( )

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

References $certificateContent.

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

75  : string
76  {
78  }
+ Here is the caller graph for this function:

◆ getCertificateHash()

ilCertificateTemplate::getCertificateHash ( )

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

References $certificateHash.

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

80  : string
81  {
83  }
+ Here is the caller graph for this function:

◆ getCreatedTimestamp()

ilCertificateTemplate::getCreatedTimestamp ( )

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

References $createdTimestamp.

Referenced by ilCertificateTemplateDatabaseRepository\save().

100  : int
101  {
103  }
+ Here is the caller graph for this function:

◆ getId()

ilCertificateTemplate::getId ( )

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

References $id.

Referenced by ilCertificateAppEventListener\processEntry(), and ilCertificateTemplateDatabaseRepository\updateActivity().

110  : ?int
111  {
112  return $this->id;
113  }
+ Here is the caller graph for this function:

◆ getIliasVersion()

ilCertificateTemplate::getIliasVersion ( )

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

References $iliasVersion.

Referenced by ilCertificateTemplateDatabaseRepository\save().

95  : string
96  {
97  return $this->iliasVersion;
98  }
+ Here is the caller graph for this function:

◆ getObjId()

ilCertificateTemplate::getObjId ( )

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

References $obj_id.

Referenced by ilCertificateTemplateDatabaseRepository\save().

70  : int
71  {
72  return $this->obj_id;
73  }
+ Here is the caller graph for this function:

◆ getObjType()

ilCertificateTemplate::getObjType ( )

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

References $obj_type.

Referenced by ilCertificateTemplateDatabaseRepository\save().

120  : string
121  {
122  return $this->obj_type;
123  }
+ Here is the caller graph for this function:

◆ getTemplateValues()

ilCertificateTemplate::getTemplateValues ( )

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

References $templateValues.

Referenced by ilCertificateTemplateDatabaseRepository\save().

85  : string
86  {
87  return $this->templateValues;
88  }
+ Here is the caller graph for this function:

◆ getThumbnailImagePath()

ilCertificateTemplate::getThumbnailImagePath ( )

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

References $thumbnailImagePath.

Referenced by ilCertificateBackgroundImageFileService\hasBackgroundImageThumbnail(), and ilCertificateTemplateDatabaseRepository\save().

130  : string
131  {
133  }
+ Here is the caller graph for this function:

◆ getVersion()

ilCertificateTemplate::getVersion ( )

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

References $version.

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

90  : int
91  {
92  return $this->version;
93  }
+ Here is the caller graph for this function:

◆ isCurrentlyActive()

ilCertificateTemplate::isCurrentlyActive ( )

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

References $currentlyActive.

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

105  : bool
106  {
107  return $this->currentlyActive;
108  }
+ Here is the caller graph for this function:

◆ isDeleted()

ilCertificateTemplate::isDeleted ( )

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

References $deleted.

Referenced by ilCertificateTemplateDatabaseRepository\save().

125  : bool
126  {
127  return $this->deleted;
128  }
+ Here is the caller graph for this function:

Field Documentation

◆ $backgroundImagePath

string ilCertificateTemplate::$backgroundImagePath
private

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

Referenced by __construct(), and getBackgroundImagePath().

◆ $certificateContent

string ilCertificateTemplate::$certificateContent
private

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

Referenced by __construct(), and getCertificateContent().

◆ $certificateHash

string ilCertificateTemplate::$certificateHash
private

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

Referenced by __construct(), and getCertificateHash().

◆ $createdTimestamp

int ilCertificateTemplate::$createdTimestamp
private

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

Referenced by __construct(), and getCreatedTimestamp().

◆ $currentlyActive

bool ilCertificateTemplate::$currentlyActive
private

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

Referenced by __construct(), and isCurrentlyActive().

◆ $deleted

bool ilCertificateTemplate::$deleted
private

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

Referenced by __construct(), and isDeleted().

◆ $id

int ilCertificateTemplate::$id
private

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

Referenced by __construct(), and getId().

◆ $iliasVersion

string ilCertificateTemplate::$iliasVersion
private

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

Referenced by __construct(), and getIliasVersion().

◆ $obj_id

int ilCertificateTemplate::$obj_id
private

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

Referenced by __construct(), and getObjId().

◆ $obj_type

string ilCertificateTemplate::$obj_type
private

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

Referenced by __construct(), and getObjType().

◆ $templateValues

string ilCertificateTemplate::$templateValues
private

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

Referenced by __construct(), and getTemplateValues().

◆ $thumbnailImagePath

string ilCertificateTemplate::$thumbnailImagePath
private

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

Referenced by __construct(), and getThumbnailImagePath().

◆ $version

int ilCertificateTemplate::$version
private

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

Referenced by __construct(), and getVersion().


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