ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
IdentificationMap.php
Go to the documentation of this file.
1
<?
php
namespace
ILIAS\GlobalScreen\Identification\Map
;
2
3
use
ILIAS\GlobalScreen\Identification\IdentificationInterface
;
4
10
class
IdentificationMap
11
{
12
16
protected
static
$map
= [];
17
18
22
public
function
addToMap
(
IdentificationInterface
$identification)
23
{
24
self::$map
[$identification->serialize()] = $identification;
25
}
26
27
33
public
function
isInMap
(
string
$serialized) : bool
34
{
35
return
isset(
self::$map
[$serialized]);
36
}
37
38
44
public
function
getFromMap
(
string
$serialized) :
IdentificationInterface
45
{
46
return
self::$map
[$serialized];
47
}
48
}
ILIAS\GlobalScreen\Identification\Map
Definition:
IdentificationMap.php:1
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:8
ILIAS\GlobalScreen\Identification\Map\IdentificationMap
Class IdentificationMap.
Definition:
IdentificationMap.php:10
IdentificationInterface
ILIAS\GlobalScreen\Identification\Map\IdentificationMap\$map
static $map
Definition:
IdentificationMap.php:16
ILIAS\GlobalScreen\Identification\Map\IdentificationMap\getFromMap
getFromMap(string $serialized)
Definition:
IdentificationMap.php:44
php
ILIAS\GlobalScreen\Identification\Map\IdentificationMap\addToMap
addToMap(IdentificationInterface $identification)
Definition:
IdentificationMap.php:22
ILIAS\GlobalScreen\Identification\Map\IdentificationMap\isInMap
isInMap(string $serialized)
Definition:
IdentificationMap.php:33
$map
$map
Definition:
fetch_windows_zones.php:13
src
GlobalScreen
Identification
Map
IdentificationMap.php
Generated on Thu Jan 16 2025 19:02:37 for ILIAS by
1.8.13 (using
Doxyfile
)