ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilCertificateTemplate.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
25 {
26  private int $obj_id;
27  private string $certificateContent;
28  private string $certificateHash;
29  private string $templateValues;
30  private int $version;
31  private string $iliasVersion;
32  private int $createdTimestamp;
33  private bool $currentlyActive;
34  private ?int $id;
35  private string $backgroundImagePath;
36  private string $obj_type;
37  private bool $deleted;
38  private string $thumbnailImagePath;
39 
40  public function __construct(
41  int $obj_id,
42  string $obj_type,
43  string $certificateContent,
44  string $certificateHash,
45  string $templateValues,
46  int $version,
47  string $iliasVersion,
48  int $createdTimestamp,
49  bool $currentlyActive,
50  string $backgroundImagePath = '',
51  string $thumbnailImagePath = '',
52  ?int $id = null,
53  bool $deleted = false
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  }
69 
70  public function getObjId(): int
71  {
72  return $this->obj_id;
73  }
74 
75  public function getCertificateContent(): string
76  {
78  }
79 
80  public function getCertificateHash(): string
81  {
83  }
84 
85  public function getTemplateValues(): string
86  {
87  return $this->templateValues;
88  }
89 
90  public function getVersion(): int
91  {
92  return $this->version;
93  }
94 
95  public function getIliasVersion(): string
96  {
97  return $this->iliasVersion;
98  }
99 
100  public function getCreatedTimestamp(): int
101  {
103  }
104 
105  public function isCurrentlyActive(): bool
106  {
107  return $this->currentlyActive;
108  }
109 
110  public function getId(): ?int
111  {
112  return $this->id;
113  }
114 
115  public function getBackgroundImagePath(): string
116  {
118  }
119 
120  public function getObjType(): string
121  {
122  return $this->obj_type;
123  }
124 
125  public function isDeleted(): bool
126  {
127  return $this->deleted;
128  }
129 
130  public function getThumbnailImagePath(): string
131  {
133  }
134 }
__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)