ILIAS
release_8 Revision v8.19
◀ 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
n
o
p
r
s
t
u
v
w
x
+
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
j
l
m
p
s
t
u
+
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
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
IdentificationMap.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
20
namespace
ILIAS\GlobalScreen\Identification\Map
;
21
22
use
ILIAS\GlobalScreen\Identification\IdentificationInterface
;
23
28
class
IdentificationMap
29
{
30
protected
static
array
$map
= [];
31
32
public
function
addToMap
(
IdentificationInterface
$identification): void
33
{
34
self::$map[$identification->serialize()] = $identification;
35
}
36
37
public
function
isInMap
(
string
$serialized): bool
38
{
39
return
isset(self::$map[$serialized]);
40
}
41
42
public
function
getFromMap
(
string
$serialized):
IdentificationInterface
43
{
44
return
self::$map[$serialized];
45
}
46
}
ILIAS\GlobalScreen\Identification\Map
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
IdentificationMap.php:20
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:29
ILIAS\GlobalScreen\Identification\Map\IdentificationMap
Class IdentificationMap.
Definition:
IdentificationMap.php:28
ILIAS\GlobalScreen\Identification\Map\IdentificationMap\$map
static array $map
Definition:
IdentificationMap.php:30
IdentificationInterface
ILIAS\GlobalScreen\Identification\Map\IdentificationMap\getFromMap
getFromMap(string $serialized)
Definition:
IdentificationMap.php:42
ILIAS\GlobalScreen\Identification\Map\IdentificationMap\addToMap
addToMap(IdentificationInterface $identification)
Definition:
IdentificationMap.php:32
ILIAS\GlobalScreen\Identification\Map\IdentificationMap\isInMap
isInMap(string $serialized)
Definition:
IdentificationMap.php:37
src
GlobalScreen
Identification
Map
IdentificationMap.php
Generated on Tue Apr 1 2025 22:02:45 for ILIAS by
1.8.13 (using
Doxyfile
)