ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
InterruptiveItem.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 
25 
32 {
33  use ComponentHelper;
34 
35  protected string $id;
36  protected string $title;
37  protected string $description;
38  protected ?Image $icon;
39 
40  public function __construct(string $id, string $title, Image $icon = null, string $description = '')
41  {
42  $this->id = $id;
43  $this->title = $title;
44  $this->icon = $icon;
45  $this->description = $description;
46  }
47 
51  public function getId(): string
52  {
53  return $this->id;
54  }
55 
59  public function getTitle(): string
60  {
61  return $this->title;
62  }
63 
67  public function getDescription(): string
68  {
69  return $this->description;
70  }
71 
75  public function getIcon(): ?Image
76  {
77  return $this->icon;
78  }
79 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Factory.php:21
__construct(string $id, string $title, Image $icon=null, string $description='')