ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
SignalGenerator.php
Go to the documentation of this file.
1
<?php
2
namespace
ILIAS\UI\Implementation\Component
;
3
10
class
SignalGenerator
implements
SignalGeneratorInterface
11
{
12
const
PREFIX
=
'il_signal_'
;
13
17
public
function
create
($class =
''
)
18
{
19
$id = $this->
createId
();
20
$instance = ($class) ?
new
$class($id) :
new
Signal
($id);
21
return
$instance;
22
}
23
27
protected
function
createId
()
28
{
29
return
str_replace(
"."
,
"_"
, uniqid(self::PREFIX,
true
));
30
}
31
}
ILIAS\UI\Implementation\Component
ILIAS\UI\Implementation\Component\SignalGeneratorInterface
Definition:
SignalGeneratorInterface.php:9
ILIAS\UI\Implementation\Component\SignalGenerator
Definition:
SignalGenerator.php:10
ILIAS\UI\Implementation\Component\SignalGenerator\create
create($class='')
Create a signal, each created signal MUST have a unique ID.Fully qualified class name (including name...
Definition:
SignalGenerator.php:17
ILIAS\UI\Component\Signal
Definition:
Signal.php:13
ILIAS\UI\Implementation\Component\SignalGenerator\createId
createId()
Definition:
SignalGenerator.php:27
ILIAS\UI\Implementation\Component\SignalGenerator\PREFIX
const PREFIX
Definition:
SignalGenerator.php:12
src
UI
Implementation
Component
SignalGenerator.php
Generated on Sat Apr 5 2025 20:01:40 for ILIAS by
1.8.13 (using
Doxyfile
)