ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
Services.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
22
namespace
ILIAS\GlobalScreen
;
23
24
use
ILIAS\GlobalScreen\Collector\CollectorFactory
;
25
use
ILIAS\GlobalScreen\Identification\IdentificationFactory
;
26
use
ILIAS\GlobalScreen\Provider\ProviderFactory
;
27
use
ILIAS\GlobalScreen\Scope\Layout\LayoutServices
;
28
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\MainMenuItemFactory
;
29
use
ILIAS\GlobalScreen\Scope\MetaBar\Factory\MetaBarItemFactory
;
30
use
ILIAS\GlobalScreen\Scope\Notification\NotificationServices
;
31
use
ILIAS\GlobalScreen\Scope\Tool\ToolServices
;
32
use
ILIAS\DI\UIServices
;
33
38
class
Services
39
{
40
use
SingletonTrait
;
41
45
private
static
$instance
;
46
50
private
$provider_factory
;
51
55
public
$resource_version
=
''
;
56
62
public
function
__construct
(
63
ProviderFactory
$provider_factory
,
64
string
$resource_version
=
''
65
) {
66
global
$DIC
;
67
$this->provider_factory =
$provider_factory
;
68
$this->resource_version = urlencode(
$resource_version
);
69
}
70
75
public
function
mainBar
() :
MainMenuItemFactory
76
{
77
return
$this->
get
(MainMenuItemFactory::class);
78
}
79
83
public
function
metaBar
() :
MetaBarItemFactory
84
{
85
return
$this->
get
(MetaBarItemFactory::class);
86
}
87
92
public
function
tool
() :
ToolServices
93
{
94
return
$this->
get
(ToolServices::class);
95
}
96
100
public
function
layout
() :
LayoutServices
101
{
102
return
$this->
getWithArgument
(LayoutServices::class, $this->resource_version);
103
}
104
108
public
function
notifications
() :
NotificationServices
109
{
110
return
$this->
get
(NotificationServices::class);
111
}
112
116
public
function
collector
() :
CollectorFactory
117
{
118
return
$this->
getWithArgument
(CollectorFactory::class, $this->provider_factory);
119
}
120
125
public
function
identification
() :
IdentificationFactory
126
{
127
return
$this->
getWithArgument
(IdentificationFactory::class, $this->provider_factory);
128
}
129
}
ILIAS\GlobalScreen
PhpIncompatibleReturnTypeInspection
MainMenuItemFactory
LayoutServices
ILIAS\GlobalScreen\Scope\Layout\LayoutServices
Class LayoutServices.
Definition:
LayoutServices.php:32
ILIAS\GlobalScreen\Services\collector
collector()
Definition:
Services.php:116
ILIAS\GlobalScreen\Scope\MetaBar\Factory\MetaBarItemFactory
Class MetaBarItemFactory This factory provides you all available types for MainMenu GlobalScreen Item...
Definition:
MetaBarItemFactory.php:29
ILIAS\GlobalScreen\Services\identification
identification()
Definition:
Services.php:125
UIServices
ILIAS\GlobalScreen\Services\tool
tool()
Definition:
Services.php:92
ILIAS\GlobalScreen\Scope\Tool\ToolServices
Class ToolServices.
Definition:
ToolServices.php:32
CollectorFactory
ILIAS\GlobalScreen\Services\$provider_factory
$provider_factory
Definition:
Services.php:50
ILIAS\GlobalScreen\Services\$resource_version
$resource_version
Definition:
Services.php:55
ILIAS\GlobalScreen\Scope\MainMenu\Factory\MainMenuItemFactory
Class MainMenuItemFactory This factory provides you all available types for MainMenu GlobalScreen Ite...
Definition:
MainMenuItemFactory.php:37
MetaBarItemFactory
ILIAS\GlobalScreen\Services\$instance
static $instance
Definition:
Services.php:45
ILIAS\GlobalScreen\SingletonTrait
trait SingletonTrait
Class SingletonTrait.
Definition:
SingletonTrait.php:29
ILIAS\GlobalScreen\Services\layout
layout()
Definition:
Services.php:100
ProviderFactory
NotificationServices
ILIAS\GlobalScreen\Services\notifications
notifications()
Definition:
Services.php:108
$DIC
global $DIC
Definition:
goto.php:24
ILIAS\GlobalScreen\Services\metaBar
metaBar()
Definition:
Services.php:83
ToolServices
ILIAS\GlobalScreen\Services\__construct
__construct(ProviderFactory $provider_factory, string $resource_version='')
Services constructor.
Definition:
Services.php:62
ILIAS\GlobalScreen\Services\mainBar
mainBar()
Definition:
Services.php:75
ILIAS\GlobalScreen\Provider\ProviderFactory
Interface ProviderFactory.
Definition:
ProviderFactory.php:33
ILIAS\GlobalScreen\Identification\IdentificationFactory
Class IdentificationFactory All elements in the GlobalScreen service must be identifiable for the sup...
Definition:
IdentificationFactory.php:47
ILIAS\GlobalScreen\Collector\CollectorFactory
Class CollectorFactory.
Definition:
CollectorFactory.php:37
ILIAS\GlobalScreen\getWithArgument
getWithArgument(string $class_name, $argument)
Definition:
SingletonTrait.php:44
IdentificationFactory
Services
Class ilAsqQuestionAuthoringFactory.
ILIAS\GlobalScreen\Scope\Notification\NotificationServices
Class NotificationServices.
Definition:
NotificationServices.php:31
src
GlobalScreen
Services.php
Generated on Wed Apr 9 2025 21:01:54 for ILIAS by
1.8.13 (using
Doxyfile
)