ILIAS  release_7 Revision v7.30-3-g800a261c036
ilCertificateTemplate Class Reference
+ Collaboration diagram for ilCertificateTemplate:

Public Member Functions

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

Private Attributes

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

Detailed Description

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

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

Constructor & Destructor Documentation

◆ __construct()

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

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

103 {
104 $this->obj_id = $obj_id;
105 $this->obj_type = $obj_type;
106 $this->certificateContent = $certificateContent;
107 $this->certificateHash = $certificateHash;
108 $this->templateValues = $templateValues;
109 $this->version = $version;
110 $this->iliasVersion = $iliasVersion;
111 $this->createdTimestamp = $createdTimestamp;
112 $this->currentlyActive = $currentlyActive;
113 $this->backgroundImagePath = (string) $backgroundImagePath;
114 $this->thumbnailImagePath = (string) $thumbnailImagePath;
115 $this->id = $id;
116 $this->deleted = $deleted;
117 }

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

Member Function Documentation

◆ getBackgroundImagePath()

ilCertificateTemplate::getBackgroundImagePath ( )
Returns
string

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

194 : string
195 {
196 return (string) $this->backgroundImagePath;
197 }

References $backgroundImagePath.

Referenced by ilCertificateTemplatePreviewAction\exchangeCertificateVariables(), ilCertificateBackgroundImageFileService\hasBackgroundImage(), and ilCertificateTemplateRepository\save().

+ Here is the caller graph for this function:

◆ getCertificateContent()

ilCertificateTemplate::getCertificateContent ( )
Returns
string

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

130 : string
131 {
133 }

References $certificateContent.

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

+ Here is the caller graph for this function:

◆ getCertificateHash()

ilCertificateTemplate::getCertificateHash ( )
Returns
string

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

138 : string
139 {
141 }

References $certificateHash.

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

+ Here is the caller graph for this function:

◆ getCreatedTimestamp()

ilCertificateTemplate::getCreatedTimestamp ( )
Returns
int

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

170 : int
171 {
173 }

References $createdTimestamp.

Referenced by ilCertificateTemplateRepository\save().

+ Here is the caller graph for this function:

◆ getId()

ilCertificateTemplate::getId ( )
Returns
int|null

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

187 {
188 return $this->id;
189 }

References $id.

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

+ Here is the caller graph for this function:

◆ getIliasVersion()

ilCertificateTemplate::getIliasVersion ( )
Returns
string

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

162 : string
163 {
164 return $this->iliasVersion;
165 }

References $iliasVersion.

Referenced by ilCertificateTemplateRepository\save().

+ Here is the caller graph for this function:

◆ getObjId()

ilCertificateTemplate::getObjId ( )
Returns
int

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

122 : int
123 {
124 return $this->obj_id;
125 }

References $obj_id.

Referenced by ilCertificateTemplateRepository\save().

+ Here is the caller graph for this function:

◆ getObjType()

ilCertificateTemplate::getObjType ( )
Returns
string

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

202 : string
203 {
204 return $this->obj_type;
205 }

References $obj_type.

Referenced by ilCertificateTemplateRepository\save().

+ Here is the caller graph for this function:

◆ getTemplateValues()

ilCertificateTemplate::getTemplateValues ( )
Returns
string

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

146 : string
147 {
149 }

References $templateValues.

Referenced by ilCertificateTemplateRepository\save().

+ Here is the caller graph for this function:

◆ getThumbnailImagePath()

ilCertificateTemplate::getThumbnailImagePath ( )
Returns
string

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

218 : string
219 {
220 return (string) $this->thumbnailImagePath;
221 }

References $thumbnailImagePath.

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

+ Here is the caller graph for this function:

◆ getVersion()

ilCertificateTemplate::getVersion ( )
Returns
string

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

154 : string
155 {
156 return $this->version;
157 }

References $version.

Referenced by ilCertificateTemplateRepository\save().

+ Here is the caller graph for this function:

◆ isCurrentlyActive()

ilCertificateTemplate::isCurrentlyActive ( )
Returns
bool

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

178 : bool
179 {
181 }

References $currentlyActive.

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

+ Here is the caller graph for this function:

◆ isDeleted()

ilCertificateTemplate::isDeleted ( )
Returns
bool

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

210 : bool
211 {
212 return $this->deleted;
213 }

References $deleted.

Referenced by ilCertificateTemplateRepository\save().

+ Here is the caller graph for this function:

Field Documentation

◆ $backgroundImagePath

ilCertificateTemplate::$backgroundImagePath
private

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

Referenced by __construct(), and getBackgroundImagePath().

◆ $certificateContent

ilCertificateTemplate::$certificateContent
private

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

Referenced by __construct(), and getCertificateContent().

◆ $certificateHash

ilCertificateTemplate::$certificateHash
private

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

Referenced by __construct(), and getCertificateHash().

◆ $createdTimestamp

ilCertificateTemplate::$createdTimestamp
private

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

Referenced by __construct(), and getCreatedTimestamp().

◆ $currentlyActive

ilCertificateTemplate::$currentlyActive
private

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

Referenced by __construct(), and isCurrentlyActive().

◆ $deleted

ilCertificateTemplate::$deleted
private

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

Referenced by __construct(), and isDeleted().

◆ $id

ilCertificateTemplate::$id
private

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

Referenced by __construct(), and getId().

◆ $iliasVersion

ilCertificateTemplate::$iliasVersion
private

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

Referenced by __construct(), and getIliasVersion().

◆ $obj_id

ilCertificateTemplate::$obj_id
private

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

Referenced by __construct(), and getObjId().

◆ $obj_type

ilCertificateTemplate::$obj_type
private

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

Referenced by __construct(), and getObjType().

◆ $templateValues

ilCertificateTemplate::$templateValues
private

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

Referenced by __construct(), and getTemplateValues().

◆ $thumbnailImagePath

ilCertificateTemplate::$thumbnailImagePath
private

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

Referenced by __construct(), and getThumbnailImagePath().

◆ $version

ilCertificateTemplate::$version
private

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

Referenced by __construct(), and getVersion().


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