ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator 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.

References factory().

38  {
39  $this->factory = new Factory();
40  }
factory()
+ Here is the call graph for this function:

◆ getUUID()

ILIAS\ResourceStorage\Identification\getUUID ( )

Definition at line 43 of file UUIDStringTrait.php.

References Vendor\Package\$e, and factory().

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  }
factory()
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ UUIDStringTrait

trait ILIAS::ResourceStorage::Identification\UUIDStringTrait
Initial value:
{
protected Factory $factory

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.