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

Detailed Description

Class Services.

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

Definition at line 17 of file Services.php.

Constructor & Destructor Documentation

◆ __construct()

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

Services constructor.

Parameters
ProviderFactory$provider_factory

Definition at line 38 of file Services.php.

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

39  {
40  $this->provider_factory = $provider_factory;
41  $this->resource_version = $resource_version;
42  }

Member Function Documentation

◆ collector()

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

Definition at line 96 of file Services.php.

References ILIAS\GlobalScreen\getWithArgument().

96  : CollectorFactory
97  {
98  return $this->getWithArgument(CollectorFactory::class, $this->provider_factory);
99  }
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 107 of file Services.php.

References ILIAS\GlobalScreen\getWithArgument().

107  : IdentificationFactory
108  {
109  return $this->getWithArgument(IdentificationFactory::class, $this->provider_factory);
110  }
getWithArgument(string $class_name, $argument)
+ Here is the call graph for this function:

◆ layout()

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

Definition at line 78 of file Services.php.

References ILIAS\GlobalScreen\getWithArgument().

78  : LayoutServices
79  {
80  return $this->getWithArgument(LayoutServices::class, $this->resource_version);
81  }
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 50 of file Services.php.

50  : MainMenuItemFactory
51  {
52  return $this->get(MainMenuItemFactory::class);
53  }

◆ metaBar()

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

Definition at line 59 of file Services.php.

59  : MetaBarItemFactory
60  {
61  return $this->get(MetaBarItemFactory::class);
62  }

◆ notifications()

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

Definition at line 87 of file Services.php.

87  : NotificationServices
88  {
89  return $this->get(NotificationServices::class);
90  }

◆ tool()

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

Definition at line 69 of file Services.php.

69  : ToolServices
70  {
71  return $this->get(ToolServices::class);
72  }

Field Documentation

◆ $instance

ILIAS\GlobalScreen\Services::$instance = null
staticprivate

Definition at line 23 of file Services.php.

◆ $provider_factory

ILIAS\GlobalScreen\Services::$provider_factory
private

Definition at line 27 of file Services.php.

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

◆ $resource_version

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

Definition at line 31 of file Services.php.

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


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