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