ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
AbstractStaticMainMenuProvider.php
Go to the documentation of this file.
1
<?
php
namespace
ILIAS\GlobalScreen\Scope\MainMenu\Provider
;
2
3
use
ILIAS\DI\Container
;
4
use
ILIAS\GlobalScreen\Identification\IdentificationProviderInterface
;
5
use
ILIAS\GlobalScreen\Provider\AbstractProvider
;
6
use
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information\TypeInformationCollection
;
7
use
ILIAS\GlobalScreen\Scope\MainMenu\Factory\MainMenuItemFactory
;
8
14
abstract
class
AbstractStaticMainMenuProvider
extends
AbstractProvider
implements
StaticMainMenuProvider
15
{
16
20
protected
$dic
;
24
protected
$if
;
28
protected
$mainmenu
;
29
30
34
public
function
__construct
(
Container
$dic
)
35
{
36
parent::__construct($dic);
37
$this->mainmenu = $this->
globalScreen
()->mainmenu();
38
$this->
if
= $this->
globalScreen
()->identification()->core($this);
39
}
40
41
45
public
function
getAllIdentifications
() : array
46
{
47
$ids = [];
48
foreach
($this->
getStaticTopItems
() as $slate) {
49
$ids[] = $slate->getProviderIdentification();
50
}
51
foreach
($this->
getStaticSubItems
() as $entry) {
52
$ids[] = $entry->getProviderIdentification();
53
}
54
55
return
$ids;
56
}
57
58
62
public
function
provideTypeInformation
() :
TypeInformationCollection
63
{
64
return
new
TypeInformationCollection
();
65
}
66
}
IdentificationProviderInterface
MainMenuItemFactory
ILIAS\GlobalScreen\Provider\AbstractProvider\globalScreen
globalScreen()
Definition:
AbstractProvider.php:36
AbstractProvider
ILIAS\GlobalScreen\Scope\MainMenu\Provider\StaticMainMenuProvider\getStaticSubItems
getStaticSubItems()
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider\$mainmenu
$mainmenu
Definition:
AbstractStaticMainMenuProvider.php:28
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider
Interface StaticMainMenuProvider.
Definition:
AbstractStaticMainMenuProvider.php:14
ILIAS\DI\Container
Customizing of pimple-DIC for ILIAS.
Definition:
Container.php:16
TypeInformationCollection
Container
ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information\TypeInformationCollection
Class TypeInformationCollection.
Definition:
TypeInformationCollection.php:8
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider\getAllIdentifications
getAllIdentifications()
Definition:
AbstractStaticMainMenuProvider.php:45
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider\$dic
$dic
Definition:
AbstractStaticMainMenuProvider.php:20
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider\__construct
__construct(Container $dic)
Definition:
AbstractStaticMainMenuProvider.php:34
ILIAS\GlobalScreen\Scope\MainMenu\Provider\StaticMainMenuProvider
Interface StaticMainMenuProvider.
Definition:
StaticMainMenuProvider.php:13
php
ILIAS\GlobalScreen\Scope\MainMenu\Provider
Definition:
AbstractStaticMainMenuProvider.php:1
ILIAS\GlobalScreen\Provider\AbstractProvider
Definition:
AbstractProvider.php:11
ILIAS\GlobalScreen\Scope\MainMenu\Provider\StaticMainMenuProvider\getStaticTopItems
getStaticTopItems()
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider\provideTypeInformation
provideTypeInformation()
Definition:
AbstractStaticMainMenuProvider.php:62
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider\$if
$if
Definition:
AbstractStaticMainMenuProvider.php:24
src
GlobalScreen
Scope
MainMenu
Provider
AbstractStaticMainMenuProvider.php
Generated on Thu Jan 16 2025 19:02:37 for ILIAS by
1.8.13 (using
Doxyfile
)