ILIAS  release_8 Revision v8.24
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.

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 }

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

Member Function Documentation

◆ getBackgroundImagePath()

ilCertificateTemplate::getBackgroundImagePath ( )

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

115 : string
116 {
118 }

References $backgroundImagePath.

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

+ Here is the caller graph for this function:

◆ getCertificateContent()

ilCertificateTemplate::getCertificateContent ( )

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

75 : string
76 {
78 }

References $certificateContent.

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

+ Here is the caller graph for this function:

◆ getCertificateHash()

ilCertificateTemplate::getCertificateHash ( )

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

80 : string
81 {
83 }

References $certificateHash.

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

+ Here is the caller graph for this function:

◆ getCreatedTimestamp()

ilCertificateTemplate::getCreatedTimestamp ( )

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

100 : int
101 {
103 }

References $createdTimestamp.

Referenced by ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ getId()

ilCertificateTemplate::getId ( )

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

110 : ?int
111 {
112 return $this->id;
113 }

References $id.

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

+ Here is the caller graph for this function:

◆ getIliasVersion()

ilCertificateTemplate::getIliasVersion ( )

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

95 : string
96 {
98 }

References $iliasVersion.

Referenced by ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ getObjId()

ilCertificateTemplate::getObjId ( )

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

70 : int
71 {
72 return $this->obj_id;
73 }

References $obj_id.

Referenced by ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ getObjType()

ilCertificateTemplate::getObjType ( )

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

120 : string
121 {
122 return $this->obj_type;
123 }

References $obj_type.

Referenced by ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ getTemplateValues()

ilCertificateTemplate::getTemplateValues ( )

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

85 : string
86 {
88 }

References $templateValues.

Referenced by ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ getThumbnailImagePath()

ilCertificateTemplate::getThumbnailImagePath ( )

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

130 : string
131 {
133 }

References $thumbnailImagePath.

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

+ Here is the caller graph for this function:

◆ getVersion()

ilCertificateTemplate::getVersion ( )

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

90 : int
91 {
92 return $this->version;
93 }

References $version.

Referenced by ilCertificateTemplateDatabaseRepository\save().

+ Here is the caller graph for this function:

◆ isCurrentlyActive()

ilCertificateTemplate::isCurrentlyActive ( )

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

105 : bool
106 {
108 }

References $currentlyActive.

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

+ Here is the caller graph for this function:

◆ isDeleted()

ilCertificateTemplate::isDeleted ( )

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

125 : bool
126 {
127 return $this->deleted;
128 }

References $deleted.

Referenced by ilCertificateTemplateDatabaseRepository\save().

+ 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: