ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Signal.php
Go to the documentation of this file.
1
<?php
2
3
namespace
ILIAS\UI\Implementation\Component
;
4
11
class
Signal
implements
\ILIAS\UI\Component\Signal
12
{
13
17
protected
$id
;
18
22
protected
$options
= array();
23
27
public
function
__construct
($id)
28
{
29
$this->
id
=
$id
;
30
}
31
35
public
function
getId
()
36
{
37
return
$this->id;
38
}
39
43
public
function
getOptions
()
44
{
45
return
$this->options;
46
}
47
52
public
function
addOption
($key, $value)
53
{
54
$this->options[$key] = $value;
55
}
56
61
protected
function
getOption
($key)
62
{
63
return
(isset($this->options[$key])) ? $this->options[$key] : null;
64
}
65
69
public
function
__toString
()
70
{
71
return
$this->id;
72
}
73
}
ILIAS\UI\Implementation\Component
ILIAS\UI\Implementation\Component\Signal\__construct
__construct($id)
Definition:
Signal.php:27
ILIAS\UI\Implementation\Component\Signal\__toString
__toString()
Definition:
Signal.php:69
ILIAS\UI\Implementation\Component\Signal\$id
$id
Definition:
Signal.php:17
ILIAS\UI\Implementation\Component\Signal\getOption
getOption($key)
Definition:
Signal.php:61
ILIAS\UI\Implementation\Component\Signal\$options
$options
Definition:
Signal.php:22
ILIAS\UI\Implementation\Component\Signal\addOption
addOption($key, $value)
Definition:
Signal.php:52
ILIAS\UI\Component\Signal
Definition:
Signal.php:13
ILIAS\UI\Implementation\Component\Signal\getOptions
getOptions()
Definition:
Signal.php:43
ILIAS\UI\Implementation\Component\Signal\getId
getId()
Get the ID of this signal.string
Definition:
Signal.php:35
src
UI
Implementation
Component
Signal.php
Generated on Mon Sep 1 2025 20:01:43 for ILIAS by
1.8.13 (using
Doxyfile
)