ILIAS
release_8 Revision v8.19
◀ 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
n
o
p
r
s
t
u
v
w
x
+
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
j
l
m
p
s
t
u
+
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
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
AbstractStaticMainMenuProvider.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
20
namespace
ILIAS\GlobalScreen\Scope\MainMenu\Provider
;
21
22
use
ILIAS\DI\Container
;
23
use
ILIAS\GlobalScreen\Identification\IdentificationProviderInterface
;
24
use
ILIAS\GlobalScreen\Provider\AbstractProvider
;
25
use
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information\TypeInformationCollection
;
26
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\MainMenuItemFactory
;
27
32
abstract
class
AbstractStaticMainMenuProvider
extends
AbstractProvider
implements
StaticMainMenuProvider
33
{
34
protected
Container
$dic
;
35
protected
IdentificationProviderInterface
$if
;
36
protected
MainMenuItemFactory
$mainmenu
;
37
41
public
function
__construct
(
Container
$dic)
42
{
43
parent::__construct
($dic);
44
$this->mainmenu = $this->
globalScreen
()->mainBar();
45
$this->
if
= $this->
globalScreen
()->identification()->core($this);
46
}
47
51
public
function
getAllIdentifications
(): array
52
{
53
$ids = [];
54
foreach
($this->
getStaticTopItems
() as $slate) {
55
$ids[] = $slate->getProviderIdentification();
56
}
57
foreach
($this->
getStaticSubItems
() as $entry) {
58
$ids[] = $entry->getProviderIdentification();
59
}
60
61
return
$ids;
62
}
63
67
public
function
provideTypeInformation
():
TypeInformationCollection
68
{
69
return
new
TypeInformationCollection
();
70
}
71
}
IdentificationProviderInterface
MainMenuItemFactory
ILIAS\GlobalScreen\Provider\AbstractProvider\globalScreen
globalScreen()
Definition:
AbstractProvider.php:45
AbstractProvider
ILIAS\GlobalScreen\Scope\MainMenu\Provider\StaticMainMenuProvider\getStaticSubItems
getStaticSubItems()
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider
Interface StaticMainMenuProvider.
Definition:
AbstractStaticMainMenuProvider.php:32
ILIAS\DI\Container
Customizing of pimple-DIC for ILIAS.
Definition:
Container.php:31
TypeInformationCollection
Container
ILIAS\GlobalScreen\Scope\MainMenu\Factory\MainMenuItemFactory
Class MainMenuItemFactory This factory provides you all available types for MainMenu GlobalScreen Ite...
Definition:
MainMenuItemFactory.php:37
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider\$if
IdentificationProviderInterface $if
Definition:
AbstractStaticMainMenuProvider.php:35
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information\TypeInformationCollection
Class TypeInformationCollection.
Definition:
TypeInformationCollection.php:26
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider\$mainmenu
MainMenuItemFactory $mainmenu
Definition:
AbstractStaticMainMenuProvider.php:36
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider\getAllIdentifications
getAllIdentifications()
Definition:
AbstractStaticMainMenuProvider.php:51
ILIAS\GlobalScreen\Identification\IdentificationProviderInterface
Class IdentificationProviderInterface.
Definition:
IdentificationProviderInterface.php:26
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:37
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider\__construct
__construct(Container $dic)
Definition:
AbstractStaticMainMenuProvider.php:41
ILIAS\GlobalScreen\Scope\MainMenu\Provider\StaticMainMenuProvider
Interface StaticMainMenuProvider.
Definition:
StaticMainMenuProvider.php:31
ILIAS\GlobalScreen\Scope\MainMenu\Provider
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
AbstractStaticMainMenuPluginProvider.php:20
ILIAS\GlobalScreen\Provider\AbstractProvider
Definition:
AbstractProvider.php:29
ILIAS\GlobalScreen\Scope\MainMenu\Provider\StaticMainMenuProvider\getStaticTopItems
getStaticTopItems()
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider\provideTypeInformation
provideTypeInformation()
Definition:
AbstractStaticMainMenuProvider.php:67
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider\$dic
Container $dic
Definition:
AbstractStaticMainMenuProvider.php:34
src
GlobalScreen
Scope
MainMenu
Provider
AbstractStaticMainMenuProvider.php
Generated on Sun Apr 6 2025 22:02:59 for ILIAS by
1.8.13 (using
Doxyfile
)