ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\GlobalScreen\Identification\Map\IdentificationMap Class Reference

Class IdentificationMap. More...

+ Collaboration diagram for ILIAS\GlobalScreen\Identification\Map\IdentificationMap:

Public Member Functions

 addToMap (IdentificationInterface $identification)
 
 isInMap (string $serialized)
 
 getFromMap (string $serialized)
 

Static Protected Attributes

static array $map = []
 

Detailed Description

Member Function Documentation

◆ addToMap()

ILIAS\GlobalScreen\Identification\Map\IdentificationMap::addToMap ( IdentificationInterface  $identification)

Definition at line 33 of file IdentificationMap.php.

33 : void
34 {
35 self::$map[$identification->serialize()] = $identification;
36 }

◆ getFromMap()

ILIAS\GlobalScreen\Identification\Map\IdentificationMap::getFromMap ( string  $serialized)

Definition at line 43 of file IdentificationMap.php.

44 {
45 return self::$map[$serialized];
46 }

◆ isInMap()

ILIAS\GlobalScreen\Identification\Map\IdentificationMap::isInMap ( string  $serialized)

Definition at line 38 of file IdentificationMap.php.

38 : bool
39 {
40 return isset(self::$map[$serialized]);
41 }

Field Documentation

◆ $map

array ILIAS\GlobalScreen\Identification\Map\IdentificationMap::$map = []
staticprotected

Definition at line 31 of file IdentificationMap.php.


The documentation for this class was generated from the following file: