ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
ModeInfo.php
Go to the documentation of this file.
1 <?php
2 
4 
8 
15 {
16  use ComponentHelper;
20  private $mode_title;
24  private $close_action;
25 
26 
33  public function __construct(string $mode_title, URI $close_action)
34  {
35  $this->mode_title = $mode_title;
36  $this->close_action = $close_action;
37  }
38 
39 
40  public function getModeTitle() : string
41  {
42  return $this->mode_title;
43  }
44 
45 
46  public function getCloseAction() : URI
47  {
48  return $this->close_action;
49  }
50 }
__construct(string $mode_title, URI $close_action)
ModeInfo constructor.
Definition: ModeInfo.php:33
trait ComponentHelper
Provides common functionality for component implementations.
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:17