ILIAS  release_8 Revision v8.24
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)
 @inheritDoc More...
 
 getFullyQualifiedClassName ()
 @inheritDoc More...
 
 getProviderNameForPresentation ()
 
 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()

Member Function Documentation

◆ getFullyQualifiedClassName()

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

@inheritDoc

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

ReflectionException

Implements ILIAS\GlobalScreen\Provider\Provider.

Reimplemented in ILIAS\EmployeeTalk\Provider\MyStaffListEntryProvider, ILIAS\MainMenu\Provider\CustomMainBarProvider, and ILIAS\MainMenu\Provider\StandardTopItemsProvider.

Definition at line 62 of file AbstractProvider.php.

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 }

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

◆ globalScreen()

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

Definition at line 45 of file AbstractProvider.php.

45 : Services
46 {
47 return $this->dic->globalScreen();
48 }

Referenced by ILIAS\GlobalScreen\Scope\Layout\Provider\AbstractModificationProvider\__construct(), ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider\__construct(), ILIAS\GlobalScreen\Scope\MetaBar\Provider\AbstractStaticMetaBarProvider\__construct(), ILIAS\GlobalScreen\Scope\Notification\Provider\AbstractNotificationProvider\__construct(), ILIAS\GlobalScreen\Scope\Toast\Provider\AbstractToastProvider\__construct(), ILIAS\GlobalScreen\Scope\Tool\Provider\AbstractDynamicToolProvider\__construct(), ilHTMLExportViewLayoutProvider\getBreadCrumbsModification(), ilLMHtmlExportViewLayoutProvider\getBreadCrumbsModification(), ilLSViewLayoutProvider\getBreadCrumbsModification(), ilLSViewLayoutProvider\getContentModification(), ilMDKeywordExposer\getContentModification(), ILIAS\UICore\PageContentProvider\getContentModification(), ilTestPlayerLayoutProvider\getFooterModification(), ILIAS\UICore\PageContentProvider\getFooterModification(), ilTestPlayerLayoutProvider\getLogoModification(), ilTestPlayerLayoutProvider\getMainBarModification(), ilHTMLExportViewLayoutProvider\getMainBarModification(), ilLMHtmlExportViewLayoutProvider\getMainBarModification(), ilLSViewLayoutProvider\getMainBarModification(), DashboardLayoutProvider\getMainBarModification(), ILIAS\LTI\Screen\LtiViewLayoutProvider\getMainBarModification(), ilAwarenessMetaBarProvider\getMetaBarItems(), ilHelpMetaBarProvider\getMetaBarItems(), ILIAS\Notifications\Provider\NotificationCenterProvider\getMetaBarItems(), ILIAS\Search\Provider\SearchMetaBarProvider\getMetaBarItems(), ILIAS\User\Provider\UserMetaBarProvider\getMetaBarItems(), ilTestPlayerLayoutProvider\getMetaBarModification(), ilHTMLExportViewLayoutProvider\getMetaBarModification(), ilLMHtmlExportViewLayoutProvider\getMetaBarModification(), ilLSViewLayoutProvider\getMetaBarModification(), ILIAS\LTI\Screen\LtiViewLayoutProvider\getMetaBarModification(), ILIAS\Chatroom\GlobalScreen\ChatInvitationNotificationProvider\getNotifications(), ILIAS\BackgroundTasks\Provider\BTNotificationProvider\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().

+ Here is the caller graph for this function:

Field Documentation

◆ $dic

◆ $provider_name_cache

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

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