ILIAS  release_7 Revision v7.30-3-g800a261c036
ModeInfo.php
Go to the documentation of this file.
1<?php
2
4
8
15{
20 private $mode_title;
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}
An exception for terminatinating execution or to throw for unit testing.
The scope of this class is split ilias-conform URI's into components.
Definition: URI.php:18
__construct(string $mode_title, URI $close_action)
ModeInfo constructor.
Definition: ModeInfo.php:33
trait ComponentHelper
Provides common functionality for component implementations.