ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
Standard.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 
25 
26 class Standard extends InterruptiveItem implements StandardInterface
27 {
28  protected string $title;
29  protected string $description;
30  protected ?Image $icon;
31 
32  public function __construct(
33  string $id,
34  string $title,
35  Image $icon = null,
36  string $description = ''
37  ) {
39 
40  $this->title = $title;
41  $this->icon = $icon;
42  $this->description = $description;
43  }
44 
45  public function getTitle(): string
46  {
47  return $this->title;
48  }
49 
50  public function getDescription(): string
51  {
52  return $this->description;
53  }
54 
55  public function getIcon(): ?Image
56  {
57  return $this->icon;
58  }
59 }
__construct(string $id, string $title, Image $icon=null, string $description='')
Definition: Standard.php:32
__construct(VocabulariesInterface $vocabularies)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Factory.php:21