ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\GlobalScreen\Provider\AbstractProvider Class Reference
+ Inheritance diagram for ILIAS\GlobalScreen\Provider\AbstractProvider:
+ Collaboration diagram for ILIAS\GlobalScreen\Provider\AbstractProvider:

Public Member Functions

 __construct (protected Container $dic)
 
 getFullyQualifiedClassName ()
 
 getProviderNameForPresentation ()
 

Protected Member Functions

 globalScreen ()
 

Private Attributes

string $provider_name_cache = ""
 

Detailed Description

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

Definition at line 29 of file AbstractProvider.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\GlobalScreen\Provider\AbstractProvider::__construct ( protected Container  $dic)

Definition at line 33 of file AbstractProvider.php.

34  {
35  }

Member Function Documentation

◆ getFullyQualifiedClassName()

ILIAS\GlobalScreen\Provider\AbstractProvider::getFullyQualifiedClassName ( )
final

Implements ILIAS\GlobalScreen\Provider\Provider.

Definition at line 44 of file AbstractProvider.php.

44  : string
45  {
46  return self::class;
47  }

◆ getProviderNameForPresentation()

ILIAS\GlobalScreen\Provider\AbstractProvider::getProviderNameForPresentation ( )
Exceptions

Implements ILIAS\GlobalScreen\Provider\Provider.

Definition at line 52 of file AbstractProvider.php.

References $parts, and ILIAS\GlobalScreen\Provider\AbstractProvider\$provider_name_cache.

52  : string
53  {
54  if ($this->provider_name_cache !== "" && is_string($this->provider_name_cache)) {
56  }
57 
58  $reflector = new \ReflectionClass($this);
59 
60  $dirname = dirname($reflector->getFileName());
61  $after_components = substr($dirname, strpos($dirname, '/components/') + strlen('/components/'));
62  $parts = explode(
63  DIRECTORY_SEPARATOR,
64  $after_components
65  );
66 
67  $parts = array_filter($parts, static function ($part): bool {
68  $ignore = ['GlobalScreen', 'Provider', 'classes', 'GS'];
69  return $part !== '' && !in_array($part, $ignore, true);
70  });
71 
72  return $this->provider_name_cache = implode('/', $parts);
73  }
if($clientAssertionType !='urn:ietf:params:oauth:client-assertion-type:jwt-bearer'|| $grantType !='client_credentials') $parts
Definition: ltitoken.php:61

◆ globalScreen()

ILIAS\GlobalScreen\Provider\AbstractProvider::globalScreen ( )
protected

Definition at line 38 of file AbstractProvider.php.

Referenced by ILIAS\GlobalScreen\Scope\MetaBar\Provider\AbstractStaticFooterProvider\__construct(), ILIAS\GlobalScreen\Scope\Toast\Provider\AbstractToastProvider\__construct(), ILIAS\GlobalScreen\Scope\Notification\Provider\AbstractNotificationProvider\__construct(), ILIAS\GlobalScreen\Scope\MetaBar\Provider\AbstractStaticMetaBarProvider\__construct(), ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider\__construct(), ILIAS\GlobalScreen\Scope\Tool\Provider\AbstractDynamicToolProvider\__construct(), ILIAS\GlobalScreen\Scope\Layout\Provider\AbstractModificationProvider\__construct(), ILIAS\Repository\Provider\RepositoryOpenGraphExposer\exposeDefaultOpenGraphMetaData(), ILIAS\Repository\Provider\RepositoryOpenGraphExposer\exposeObjectOpenGraphMetaData(), ILIAS\Test\Presentation\PrintLayoutProvider\getBreadCrumbsModification(), ilHTMLExportViewLayoutProvider\getBreadCrumbsModification(), ilLSViewLayoutProvider\getBreadCrumbsModification(), ilLMHtmlExportViewLayoutProvider\getBreadCrumbsModification(), ilMDKeywordExposer\getContentModification(), ILIAS\UICore\PageContentProvider\getContentModification(), ilLSViewLayoutProvider\getContentModification(), ilTestPlayerLayoutProvider\getFooterModification(), ilTestPlayerLayoutProvider\getLogoModification(), DashboardLayoutProvider\getMainBarModification(), ILIAS\Init\StartupSequence\StartUpSequenceLayoutProvider\getMainBarModification(), ilHelpViewLayoutProvider\getMainBarModification(), ILIAS\Test\Presentation\PrintLayoutProvider\getMainBarModification(), ilLSViewLayoutProvider\getMainBarModification(), ilTestPlayerLayoutProvider\getMainBarModification(), ilLMHtmlExportViewLayoutProvider\getMainBarModification(), ilHTMLExportViewLayoutProvider\getMainBarModification(), ILIAS\LTI\Screen\LtiViewLayoutProvider\getMainBarModification(), ILIAS\Notifications\Provider\NotificationCenterProvider\getMetaBarItems(), ilHelpMetaBarProvider\getMetaBarItems(), ILIAS\User\Provider\UserMetaBarProvider\getMetaBarItems(), ilAwarenessMetaBarProvider\getMetaBarItems(), ILIAS\Search\Provider\SearchMetaBarProvider\getMetaBarItems(), ilLMHtmlExportViewLayoutProvider\getMetaBarModification(), ilHTMLExportViewLayoutProvider\getMetaBarModification(), ILIAS\Init\StartupSequence\StartUpSequenceLayoutProvider\getMetaBarModification(), ILIAS\Test\Presentation\PrintLayoutProvider\getMetaBarModification(), ilLSViewLayoutProvider\getMetaBarModification(), ilTestPlayerLayoutProvider\getMetaBarModification(), ILIAS\LTI\Screen\LtiViewLayoutProvider\getMetaBarModification(), ilLSCompletionNotificationProvider\getNotifications(), ILIAS\GlobalScreen\ChatInvitationNotificationProvider\getNotifications(), ILIAS\BackgroundTasks\Provider\BTNotificationProvider\getNotifications(), ILIAS\Contact\Provider\ContactNotificationProvider\getNotifications(), ILIAS\LTI\Screen\LtiViewLayoutProvider\getPageBuilderDecorator(), ilTestPlayerLayoutProvider\getShortTitleModification(), ILIAS\MainMenu\Provider\CustomMainBarProvider\getSingleCustomItem(), ILIAS\LTI\Screen\LtiViewLayoutProvider\getTitleModification(), ilTestPlayerLayoutProvider\getTitleModification(), and ilTestPlayerLayoutProvider\getViewTitleModification().

38  : Services
39  {
40  return $this->dic->globalScreen();
41  }
+ Here is the caller graph for this function:

Field Documentation

◆ $provider_name_cache

string ILIAS\GlobalScreen\Provider\AbstractProvider::$provider_name_cache = ""
private

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