ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables 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 (Container $dic)
 
 getFullyQualifiedClassName ()
 
 getProviderNameForPresentation ()
 

Protected Member Functions

 globalScreen ()
 

Protected Attributes

Container $dic
 

Private Attributes

string $provider_name_cache = ""
 

Detailed Description

Definition at line 29 of file AbstractProvider.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 37 of file AbstractProvider.php.

References ILIAS\GlobalScreen\Provider\AbstractProvider\$dic.

38  {
39  $this->dic = $dic;
40  }

Member Function Documentation

◆ getFullyQualifiedClassName()

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

Implements ILIAS\GlobalScreen\Provider\Provider.

Definition at line 53 of file AbstractProvider.php.

53  : string
54  {
55  return self::class;
56  }

◆ getProviderNameForPresentation()

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

Implements ILIAS\GlobalScreen\Provider\Provider.

Definition at line 62 of file AbstractProvider.php.

References ILIAS\GlobalScreen\Provider\AbstractProvider\$provider_name_cache.

62  : string
63  {
64  if ($this->provider_name_cache !== "" && is_string($this->provider_name_cache)) {
66  }
67  $reflector = new \ReflectionClass($this);
68 
69  $re = "/.*[\\\|\\/](?P<provider>(Services|Modules)[\\\|\\/].*)[\\\|\\/]classes/m";
70 
71  preg_match($re, str_replace("\\", "/", $reflector->getFileName()), $matches);
72 
73  $this->provider_name_cache = isset($matches[1]) ? is_string($matches[1]) ? $matches[1] : self::class : self::class;
74 
76  }

◆ globalScreen()

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

Definition at line 45 of file AbstractProvider.php.

Referenced by ILIAS\GlobalScreen\Scope\MetaBar\Provider\AbstractStaticMetaBarProvider\__construct(), ILIAS\GlobalScreen\Scope\Notification\Provider\AbstractNotificationProvider\__construct(), ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider\__construct(), ILIAS\GlobalScreen\Scope\Toast\Provider\AbstractToastProvider\__construct(), ILIAS\GlobalScreen\Scope\Tool\Provider\AbstractDynamicToolProvider\__construct(), ILIAS\GlobalScreen\Scope\Layout\Provider\AbstractModificationProvider\__construct(), ilHTMLExportViewLayoutProvider\getBreadCrumbsModification(), ilLSViewLayoutProvider\getBreadCrumbsModification(), ilLMHtmlExportViewLayoutProvider\getBreadCrumbsModification(), ilMDKeywordExposer\getContentModification(), ILIAS\UICore\PageContentProvider\getContentModification(), ilLSViewLayoutProvider\getContentModification(), ilTestPlayerLayoutProvider\getFooterModification(), ILIAS\UICore\PageContentProvider\getFooterModification(), ilTestPlayerLayoutProvider\getLogoModification(), DashboardLayoutProvider\getMainBarModification(), ilHelpViewLayoutProvider\getMainBarModification(), ilLSViewLayoutProvider\getMainBarModification(), ilLMHtmlExportViewLayoutProvider\getMainBarModification(), ilHTMLExportViewLayoutProvider\getMainBarModification(), ilTestPlayerLayoutProvider\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(), ilLSViewLayoutProvider\getMetaBarModification(), ilTestPlayerLayoutProvider\getMetaBarModification(), ILIAS\LTI\Screen\LtiViewLayoutProvider\getMetaBarModification(), ILIAS\BackgroundTasks\Provider\BTNotificationProvider\getNotifications(), ILIAS\Chatroom\GlobalScreen\ChatInvitationNotificationProvider\getNotifications(), ILIAS\Contact\Provider\ContactNotificationProvider\getNotifications(), ILIAS\LTI\Screen\LtiViewLayoutProvider\getPageBuilderDecorator(), ilTestPlayerLayoutProvider\getResponsiveLogoModification(), ilTestPlayerLayoutProvider\getShortTitleModification(), ILIAS\MainMenu\Provider\CustomMainBarProvider\getSingleCustomItem(), ILIAS\Administration\AdministrationMainBarProvider\getStaticSubItems(), ILIAS\LTI\Screen\LtiViewLayoutProvider\getTitleModification(), and ilTestPlayerLayoutProvider\getViewTitleModification().

45  : Services
46  {
47  return $this->dic->globalScreen();
48  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
+ Here is the caller graph for this function:

Field Documentation

◆ $dic

Container ILIAS\GlobalScreen\Provider\AbstractProvider::$dic
protected

◆ $provider_name_cache

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

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