ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilCertificateTemplate.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
3
8{
12 private $obj_id;
13
18
23
28
32 private $version;
33
38
43
48
52 private $id;
53
58
62 private $obj_type;
63
67 private $deleted;
68
73
89 public function __construct(
90 $obj_id,
101 $id = null,
102 bool $deleted = false
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 }
118
122 public function getObjId() : int
123 {
124 return $this->obj_id;
125 }
126
130 public function getCertificateContent() : string
131 {
133 }
134
138 public function getCertificateHash() : string
139 {
141 }
142
146 public function getTemplateValues() : string
147 {
149 }
150
154 public function getVersion() : string
155 {
156 return $this->version;
157 }
158
162 public function getIliasVersion() : string
163 {
164 return $this->iliasVersion;
165 }
166
170 public function getCreatedTimestamp() : int
171 {
173 }
174
178 public function isCurrentlyActive() : bool
179 {
181 }
182
186 public function getId()
187 {
188 return $this->id;
189 }
190
194 public function getBackgroundImagePath() : string
195 {
196 return (string) $this->backgroundImagePath;
197 }
198
202 public function getObjType() : string
203 {
204 return $this->obj_type;
205 }
206
210 public function isDeleted() : bool
211 {
212 return $this->deleted;
213 }
214
218 public function getThumbnailImagePath() : string
219 {
220 return (string) $this->thumbnailImagePath;
221 }
222}
An exception for terminatinating execution or to throw for unit testing.
__construct( $obj_id, $obj_type, $certificateContent, $certificateHash, $templateValues, $version, $iliasVersion, $createdTimestamp, $currentlyActive, $backgroundImagePath='', $thumbnailImagePath='', $id=null, bool $deleted=false)