ILIAS  trunk Revision v11.0_alpha-1731-gff9cd7e2bd3
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ModeInfo.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 use ILIAS\Data\URI;
26 
33 {
34  use ComponentHelper;
35 
36  private string $mode_title;
37  private URI $close_action;
38 
39  public function __construct(string $mode_title, URI $close_action)
40  {
41  $this->mode_title = $mode_title;
42  $this->close_action = $close_action;
43  }
44 
45  public function getModeTitle(): string
46  {
47  return $this->mode_title;
48  }
49 
50  public function getCloseAction(): URI
51  {
52  return $this->close_action;
53  }
54 }
__construct(string $mode_title, URI $close_action)
Definition: ModeInfo.php:39