ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\ResourceStorage\Identification Namespace Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

Data Structures

class  AbstractIdentification
 Class AbstractIdentification. More...
 
interface  CollectionIdentificationGenerator
 Class CollectionIdentificationGenerator. More...
 
interface  IdentificationGenerator
 Class UniqueIDIdentificationGenerator. More...
 
class  MicrotimeIdentificationGenerator
 Class MicrotimeIdentificationGenerator. More...
 
class  ResourceCollectionIdentification
 Class ResourceCollectionIdentification. More...
 
class  ResourceIdentification
 Class ResourceIdentification. More...
 
class  UniqueIDCollectionIdentificationGenerator
 Class UniqueIDCollectionIdentificationGenerator. More...
 
class  UniqueIDIdentificationGenerator
 Class UniqueIDIdentificationGenerator. More...
 

Functions

 __construct ()
 UniqueIDIdentificationGenerator constructor. More...
 
 getUUID ()
 

Variables

trait UUIDStringTrait
 Class UniqueIDCollectionIdentificationGenerator. More...
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

Function Documentation

◆ __construct()

ILIAS\ResourceStorage\Identification\__construct ( )

UniqueIDIdentificationGenerator constructor.

Definition at line 37 of file UUIDStringTrait.php.

38  {
39  $this->factory = new Factory();
40  }

◆ getUUID()

ILIAS\ResourceStorage\Identification\getUUID ( )

Definition at line 43 of file UUIDStringTrait.php.

References Vendor\Package\$e.

Referenced by ilCmiXapiUser\getIliasUuid(), and ilCmiXapiUser\getUserObjectUniqueId().

43  : string
44  {
45  try {
46  $unique_id = $this->factory->uuid4AsString();
47  } catch (\Exception $e) {
48  throw new \LogicException('Generating uuid failed: ' . $e->getMessage(), $e->getCode(), $e);
49  }
50  return $unique_id;
51  }
+ Here is the caller graph for this function:

Variable Documentation

◆ UUIDStringTrait

trait ILIAS::ResourceStorage::Identification\UUIDStringTrait
Initial value:
{
protected \ILIAS\Data\UUID\Factory $factory
$factory
Definition: metadata.php:75

Class UniqueIDCollectionIdentificationGenerator.

Author
Fabian Schmid fabia.nosp@m.n@sr.nosp@m..solu.nosp@m.tion.nosp@m.s

Definition at line 31 of file UUIDStringTrait.php.