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
ContextServices.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
namespace
ILIAS\GlobalScreen\ScreenContext
;
21
22
use
ILIAS\GlobalScreen\ScreenContext\Stack\CalledContexts
;
23
use
ILIAS\GlobalScreen\ScreenContext\Stack\ContextCollection
;
24
29
class
ContextServices
30
{
34
private
$context_repository
;
35
39
private
$collection
;
40
44
public
function
__construct
()
45
{
46
$this->context_repository =
new
ContextRepository
();
47
$this->
collection
=
new
CalledContexts
($this->context_repository);
48
}
49
53
public
function
stack
() :
CalledContexts
54
{
55
return
$this->collection
;
56
}
57
61
public
function
current
() :
ScreenContext
62
{
63
return
$this->
collection
->current();
64
}
65
69
public
function
claim
() :
CalledContexts
70
{
71
return
$this->collection
;
72
}
73
74
public
function
collection
() :
ContextCollection
75
{
76
return
new
ContextCollection
($this->context_repository);
77
}
78
82
public
function
availableContexts
() :
ContextRepository
83
{
84
return
$this->context_repository
;
85
}
86
}
ILIAS\GlobalScreen\ScreenContext\ContextServices
Class ContextServices.
Definition:
ContextServices.php:29
ILIAS\GlobalScreen\ScreenContext\ContextServices\$context_repository
$context_repository
Definition:
ContextServices.php:34
ILIAS\GlobalScreen\ScreenContext\ContextServices\__construct
__construct()
ContextServices constructor.
Definition:
ContextServices.php:44
ILIAS\GlobalScreen\ScreenContext\ContextServices\current
current()
Definition:
ContextServices.php:61
ILIAS\GlobalScreen\ScreenContext\ContextRepository
Class ContextRepository.
Definition:
ContextRepository.php:32
ILIAS\GlobalScreen\ScreenContext\ContextServices\stack
stack()
Definition:
ContextServices.php:53
ILIAS\GlobalScreen\ScreenContext
CalledContexts
ILIAS\GlobalScreen\ScreenContext\ContextServices\claim
claim()
Definition:
ContextServices.php:69
ContextCollection
ILIAS\GlobalScreen\ScreenContext\ContextServices\collection
collection()
Definition:
ContextServices.php:74
ILIAS\GlobalScreen\ScreenContext\Stack\CalledContexts
Class CalledContexts.
Definition:
CalledContexts.php:31
ILIAS\GlobalScreen\ScreenContext\ContextServices\availableContexts
availableContexts()
Definition:
ContextServices.php:82
ILIAS\GlobalScreen\ScreenContext\Stack\ContextCollection
Definition:
ContextCollection.php:29
ILIAS\GlobalScreen\ScreenContext\ContextServices\$collection
$collection
Definition:
ContextServices.php:39
ILIAS\GlobalScreen\ScreenContext\ScreenContext
Interface ScreenContext.
Definition:
ScreenContext.php:29
src
GlobalScreen
ScreenContext
ContextServices.php
Generated on Sun Apr 6 2025 21:01:47 for ILIAS by
1.8.13 (using
Doxyfile
)