ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ILIAS\AccessControl\User\UserIdProviderProxy Class Reference
+ Collaboration diagram for ILIAS\AccessControl\User\UserIdProviderProxy:

Public Member Functions

 getId ()
 

Detailed Description

Definition at line 26 of file UserIdProviderProxy.php.

Member Function Documentation

◆ getId()

ILIAS\AccessControl\User\UserIdProviderProxy::getId ( )

Definition at line 28 of file UserIdProviderProxy.php.

28 : int
29 {
30 global $DIC;
31 if ($DIC->isDependencyAvailable('user')) {
32 return $DIC->user()->getId();
33 }
34 throw new \RuntimeException('User dependency is not available in the DIC');
35 }
global $DIC
Definition: shib_login.php:26

References $DIC.

Referenced by ILIAS\UI\Implementation\Component\Table\AbstractTable\getStorageId().

+ Here is the caller graph for this function:

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