ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 32 of file IdentificationMap.php.

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

◆ getFromMap()

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

Definition at line 42 of file IdentificationMap.php.

42  : IdentificationInterface
43  {
44  return self::$map[$serialized];
45  }

◆ isInMap()

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

Definition at line 37 of file IdentificationMap.php.

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

Field Documentation

◆ $map

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

Definition at line 30 of file IdentificationMap.php.


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