ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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.

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

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  }

Member Function Documentation

◆ getBackgroundImagePath()

ilCertificateTemplate::getBackgroundImagePath ( )

◆ getCertificateContent()

ilCertificateTemplate::getCertificateContent ( )
Returns
string

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

References $certificateContent.

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

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

◆ getCertificateHash()

ilCertificateTemplate::getCertificateHash ( )
Returns
string

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

References $certificateHash.

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

138  : string
139  {
140  return $this->certificateHash;
141  }
+ Here is the caller graph for this function:

◆ getCreatedTimestamp()

ilCertificateTemplate::getCreatedTimestamp ( )
Returns
int

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

References $createdTimestamp.

Referenced by ilCertificateTemplateRepository\save().

170  : int
171  {
173  }
+ Here is the caller graph for this function:

◆ getId()

ilCertificateTemplate::getId ( )
Returns
int|null

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

References $id.

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

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

◆ getIliasVersion()

ilCertificateTemplate::getIliasVersion ( )
Returns
string

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

References $iliasVersion.

Referenced by ilCertificateTemplateRepository\save().

162  : string
163  {
164  return $this->iliasVersion;
165  }
+ Here is the caller graph for this function:

◆ getObjId()

ilCertificateTemplate::getObjId ( )
Returns
int

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

References $obj_id.

Referenced by ilCertificateTemplateRepository\save().

122  : int
123  {
124  return $this->obj_id;
125  }
+ Here is the caller graph for this function:

◆ getObjType()

ilCertificateTemplate::getObjType ( )
Returns
string

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

References $obj_type.

Referenced by ilCertificateTemplateRepository\save().

202  : string
203  {
204  return $this->obj_type;
205  }
+ Here is the caller graph for this function:

◆ getTemplateValues()

ilCertificateTemplate::getTemplateValues ( )
Returns
string

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

References $templateValues.

Referenced by ilCertificateTemplateRepository\save().

146  : string
147  {
148  return $this->templateValues;
149  }
+ Here is the caller graph for this function:

◆ getThumbnailImagePath()

ilCertificateTemplate::getThumbnailImagePath ( )
Returns
string

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

References $thumbnailImagePath.

Referenced by ilCertificateTemplateRepository\save().

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

◆ getVersion()

ilCertificateTemplate::getVersion ( )
Returns
string

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

References $version.

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

154  : string
155  {
156  return $this->version;
157  }
+ Here is the caller graph for this function:

◆ isCurrentlyActive()

ilCertificateTemplate::isCurrentlyActive ( )
Returns
bool

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

References $currentlyActive.

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

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

◆ isDeleted()

ilCertificateTemplate::isDeleted ( )
Returns
bool

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

References $deleted.

Referenced by ilCertificateTemplateRepository\save().

210  : bool
211  {
212  return $this->deleted;
213  }
+ 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: