ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilSkillGlobalScreenProvider.php
Go to the documentation of this file.
1
<?
php
2
3
use
ILIAS\GlobalScreen\Identification\IdentificationInterface
;
4
use
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider
;
5
11
class
ilSkillGlobalScreenProvider
extends
AbstractStaticMainMenuProvider
12
{
13
17
protected
$top_item
;
18
19
20
public
function
__construct
(\
ILIAS
\
DI
\Container
$dic
)
21
{
22
parent::__construct($dic);
23
$this->top_item = (
new
ilPDGlobalScreenProvider
($dic))->
getTopItem
();
24
}
25
26
34
public
function
getTopItem
() :
IdentificationInterface
35
{
36
return
$this->top_item
;
37
}
38
39
43
public
function
getStaticTopItems
() : array
44
{
45
return
[];
46
}
47
48
52
public
function
getStaticSubItems
() : array
53
{
54
return
[];
55
/*
56
return [$this->mainmenu->link($this->if->identifier('mm_pd_skill'))
57
->withTitle($this->dic->language()->txt("skills"))
58
->withAction("ilias.php?baseClass=ilPersonalDesktopGUI&cmd=jumpToSkills")
59
->withParent($this->getTopItem())
60
->withNonAvailableReason($this->dic->ui()->factory()->legacy("{$this->dic->language()->txt('component_not_active')}"))
61
->withAvailableCallable(
62
function () {
63
$skmg_set = new ilSetting("skmg");
64
65
return (bool)($skmg_set->get("enable_skmg"));
66
}
67
)];*/
68
}
69
}
ilSkillGlobalScreenProvider\getStaticSubItems
getStaticSubItems()
Definition:
class.ilSkillGlobalScreenProvider.php:52
ilSkillGlobalScreenProvider\getTopItem
getTopItem()
Some other components want to provide Items for the main menu which are located at the PD TopTitem by...
Definition:
class.ilSkillGlobalScreenProvider.php:34
ilSkillGlobalScreenProvider\$top_item
$top_item
Definition:
class.ilSkillGlobalScreenProvider.php:17
ILIAS
Class BaseForm.
ILIAS\GlobalScreen\Identification\IdentificationInterface
Interface IdentificationInterface.
Definition:
IdentificationInterface.php:8
ilSkillGlobalScreenProvider
Class ilSkillGlobalScreenProvider.
Definition:
class.ilSkillGlobalScreenProvider.php:11
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider
Interface StaticMainMenuProvider.
Definition:
AbstractStaticMainMenuProvider.php:14
AbstractStaticMainMenuProvider
IdentificationInterface
DI
Class HTTPServicesTest.
ilPDGlobalScreenProvider
Class ilPDGlobalScreenProvider.
Definition:
class.ilPDGlobalScreenProvider.php:11
ilSkillGlobalScreenProvider\getStaticTopItems
getStaticTopItems()
Definition:
class.ilSkillGlobalScreenProvider.php:43
ilSkillGlobalScreenProvider\__construct
__construct(\ILIAS\DI\Container $dic)
Definition:
class.ilSkillGlobalScreenProvider.php:20
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider\$dic
$dic
Definition:
AbstractStaticMainMenuProvider.php:20
php
Services
Skill
classes
class.ilSkillGlobalScreenProvider.php
Generated on Thu Feb 27 2025 19:02:04 for ILIAS by
1.8.13 (using
Doxyfile
)