ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Standard.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
25 
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 }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
__construct(string $id, string $title, ?Image $icon=null, string $description='')
Definition: Standard.php:32
__construct(Container $dic, ilPlugin $plugin)