ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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

 $dic
 

Private Attributes

 $provider_name_cache = ""
 

Detailed Description

Definition at line 11 of file AbstractProvider.php.

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ getFullyQualifiedClassName()

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

Implements ILIAS\GlobalScreen\Provider\Provider.

Definition at line 45 of file AbstractProvider.php.

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

◆ getProviderNameForPresentation()

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

Implements ILIAS\GlobalScreen\Provider\Provider.

Definition at line 55 of file AbstractProvider.php.

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

55  : string
56  {
57  if ($this->provider_name_cache !== "" && is_string($this->provider_name_cache)) {
59  }
60  $reflector = new \ReflectionClass($this);
61 
62  $re = "/.*[\\\|\\/](?P<provider>(Services|Modules)[\\\|\\/].*)[\\\|\\/]classes/m";
63 
64  preg_match($re, str_replace("\\", "/", $reflector->getFileName()), $matches);
65 
66  $this->provider_name_cache = isset($matches[1]) ? is_string($matches[1]) ? $matches[1] : self::class : self::class;
67 
69  }

◆ globalScreen()

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

Definition at line 36 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\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(), ilHTMLExportViewLayoutProvider\getMainBarModification(), ilTestPlayerLayoutProvider\getMainBarModification(), ilLMHtmlExportViewLayoutProvider\getMainBarModification(), ILIAS\LTI\Screen\LtiViewLayoutProvider\getMainBarModification(), ILIAS\GlobalScreen\Scope\MetaBar\Provider\NotificationCenterProvider\getMetaBarItems(), ILIAS\User\Provider\UserMetaBarProvider\getMetaBarItems(), ilHelpMetaBarProvider\getMetaBarItems(), ilAwarenessMetaBarProvider\getMetaBarItems(), ILIAS\Search\Provider\SearchMetaBarProvider\getMetaBarItems(), ilHTMLExportViewLayoutProvider\getMetaBarModification(), ilLMHtmlExportViewLayoutProvider\getMetaBarModification(), ilLSViewLayoutProvider\getMetaBarModification(), ilTestPlayerLayoutProvider\getMetaBarModification(), ILIAS\LTI\Screen\LtiViewLayoutProvider\getMetaBarModification(), ILIAS\Badge\GlobalScreen\BadgeNotificationProvider\getNotifications(), ILIAS\BackgroundTasks\Provider\BTNotificationProvider\getNotifications(), ILIAS\Mail\Provider\MailNotificationProvider\getNotifications(), ILIAS\Contact\Provider\ContactNotificationProvider\getNotifications(), ILIAS\OnScreenChat\Provider\OnScreenChatNotificationProvider\getNotifications(), ILIAS\LTI\Screen\LtiViewLayoutProvider\getPageBuilderDecorator(), ILIAS\UICore\PageContentProvider\getShortTitleModification(), ILIAS\MainMenu\Provider\CustomMainBarProvider\getSingleCustomItem(), ILIAS\Administration\AdministrationMainBarProvider\getStaticSubItems(), ILIAS\UICore\PageContentProvider\getTitleModification(), ILIAS\LTI\Screen\LtiViewLayoutProvider\getTitleModification(), and ILIAS\UICore\PageContentProvider\getViewTitleModification().

36  : Services
37  {
38  return $this->dic->globalScreen();
39  }
Class ilAsqQuestionAuthoringFactory.
+ Here is the caller graph for this function:

Field Documentation

◆ $dic

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

◆ $provider_name_cache

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

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