ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
class.ilCertificateTemplate.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
27{
28 public function __construct(
29 private readonly int $obj_id,
30 private readonly string $obj_type,
31 private readonly string $certificateContent,
32 private readonly string $certificateHash,
33 private readonly string $templateValues,
34 private readonly int $version,
35 private readonly string $iliasVersion,
36 private readonly int $createdTimestamp,
37 private readonly bool $currentlyActive,
38 private readonly string $backgroundIdentification = '',
39 private readonly string $tile_image_identification = '',
40 private readonly ?int $id = null,
41 private readonly bool $deleted = false
42 ) {
43 }
44
45 public function getObjId(): int
46 {
47 return $this->obj_id;
48 }
49
50 public function getCertificateContent(): string
51 {
52 return $this->certificateContent;
53 }
54
55 public function getCertificateHash(): string
56 {
57 return $this->certificateHash;
58 }
59
60 public function getTemplateValues(): string
61 {
62 return $this->templateValues;
63 }
64
65 public function getVersion(): int
66 {
67 return $this->version;
68 }
69
70 public function getIliasVersion(): string
71 {
72 return $this->iliasVersion;
73 }
74
75 public function getCreatedTimestamp(): int
76 {
77 return $this->createdTimestamp;
78 }
79
80 public function isCurrentlyActive(): bool
81 {
82 return $this->currentlyActive;
83 }
84
85 public function getId(): ?int
86 {
87 return $this->id;
88 }
89
90 public function getBackgroundImageIdentification(): string
91 {
92 return $this->backgroundIdentification;
93 }
94
95 public function getObjType(): string
96 {
97 return $this->obj_type;
98 }
99
100 public function isDeleted(): bool
101 {
102 return $this->deleted;
103 }
104
105 public function getTileImageIdentification(): string
106 {
107 return $this->tile_image_identification;
108 }
109}
$version
Definition: plugin.php:24
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
__construct(private readonly int $obj_id, private readonly string $obj_type, private readonly string $certificateContent, private readonly string $certificateHash, private readonly string $templateValues, private readonly int $version, private readonly string $iliasVersion, private readonly int $createdTimestamp, private readonly bool $currentlyActive, private readonly string $backgroundIdentification='', private readonly string $tile_image_identification='', private readonly ?int $id=null, private readonly bool $deleted=false)