ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Standard.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25
26class 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(Container $dic, ilPlugin $plugin)
@inheritDoc