ILIAS  release_7 Revision v7.30-3-g800a261c036
ILIAS\GlobalScreen\Services Class Reference

Class Services. More...

+ Collaboration diagram for ILIAS\GlobalScreen\Services:

Public Member Functions

 __construct (ProviderFactory $provider_factory, string $resource_version='')
 Services constructor. More...
 
 mainBar ()
 
 metaBar ()
 
 tool ()
 
 layout ()
 
 notifications ()
 
 collector ()
 
 identification ()
 

Data Fields

 $resource_version = ''
 

Private Attributes

 $provider_factory
 

Static Private Attributes

static $instance
 

Detailed Description

Class Services.

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch

Definition at line 38 of file Services.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\GlobalScreen\Services::__construct ( ProviderFactory  $provider_factory,
string  $resource_version = '' 
)

Services constructor.

Parameters
ProviderFactory$provider_factory
string$resource_version

Definition at line 62 of file Services.php.

References $DIC, ILIAS\GlobalScreen\Services\$provider_factory, and ILIAS\GlobalScreen\Services\$resource_version.

65  {
66  global $DIC;
67  $this->provider_factory = $provider_factory;
68  $this->resource_version = urlencode($resource_version);
69  }
global $DIC
Definition: goto.php:24

Member Function Documentation

◆ collector()

ILIAS\GlobalScreen\Services::collector ( )
Returns
CollectorFactory

Definition at line 116 of file Services.php.

References ILIAS\GlobalScreen\getWithArgument().

116  : CollectorFactory
117  {
118  return $this->getWithArgument(CollectorFactory::class, $this->provider_factory);
119  }
getWithArgument(string $class_name, $argument)
+ Here is the call graph for this function:

◆ identification()

ILIAS\GlobalScreen\Services::identification ( )
Returns
IdentificationFactory
See also
IdentificationFactory

Definition at line 125 of file Services.php.

References ILIAS\GlobalScreen\getWithArgument().

125  : IdentificationFactory
126  {
127  return $this->getWithArgument(IdentificationFactory::class, $this->provider_factory);
128  }
getWithArgument(string $class_name, $argument)
+ Here is the call graph for this function:

◆ layout()

ILIAS\GlobalScreen\Services::layout ( )
Returns
LayoutServices

Definition at line 100 of file Services.php.

References ILIAS\GlobalScreen\getWithArgument().

100  : LayoutServices
101  {
102  return $this->getWithArgument(LayoutServices::class, $this->resource_version);
103  }
getWithArgument(string $class_name, $argument)
+ Here is the call graph for this function:

◆ mainBar()

ILIAS\GlobalScreen\Services::mainBar ( )
Returns
MainMenuItemFactory
See also
MainMenuItemFactory

Definition at line 75 of file Services.php.

75  : MainMenuItemFactory
76  {
77  return $this->get(MainMenuItemFactory::class);
78  }

◆ metaBar()

ILIAS\GlobalScreen\Services::metaBar ( )
Returns
MetaBarItemFactory

Definition at line 83 of file Services.php.

83  : MetaBarItemFactory
84  {
85  return $this->get(MetaBarItemFactory::class);
86  }

◆ notifications()

ILIAS\GlobalScreen\Services::notifications ( )
Returns
NotificationServices

Definition at line 108 of file Services.php.

108  : NotificationServices
109  {
110  return $this->get(NotificationServices::class);
111  }

◆ tool()

ILIAS\GlobalScreen\Services::tool ( )
Returns
ToolServices
See also
ToolServices

Definition at line 92 of file Services.php.

92  : ToolServices
93  {
94  return $this->get(ToolServices::class);
95  }

Field Documentation

◆ $instance

ILIAS\GlobalScreen\Services::$instance
staticprivate

Definition at line 45 of file Services.php.

◆ $provider_factory

ILIAS\GlobalScreen\Services::$provider_factory
private

Definition at line 50 of file Services.php.

Referenced by ILIAS\GlobalScreen\Services\__construct().

◆ $resource_version

ILIAS\GlobalScreen\Services::$resource_version = ''

Definition at line 55 of file Services.php.

Referenced by ILIAS\GlobalScreen\Services\__construct().


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