ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ 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
s
t
w
+
Functions
_
a
b
c
f
g
h
i
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
class.MembershipMainBarProvider.php
Go to the documentation of this file.
1
<?php
namespace
ILIAS\Membership\GlobalScreen
;
2
3
use
ILIAS\GlobalScreen\Helper\BasicAccessCheckClosures
;
4
use
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider
;
5
use
ILIAS\MainMenu\Provider\StandardTopItemsProvider
;
6
12
class
MembershipMainBarProvider
extends
AbstractStaticMainMenuProvider
13
{
14
18
public
function
getStaticTopItems
() : array
19
{
20
return
[];
21
}
22
23
27
public
function
getStaticSubItems
() : array
28
{
29
$dic
=
$this->dic
;
30
$access_helper =
BasicAccessCheckClosures::getInstance
();
31
32
$title = $this->dic->language()->txt(
"my_courses_groups"
);
33
$icon = $this->dic->ui()->factory()->symbol()->icon()->custom(\
ilUtil::getImagePath
(
"outlined/icon_crgr.svg"
), $title);
34
35
// derived tasks list
36
$entries[] = $this->mainmenu->link($this->
if
->identifier(
'mm_memberships'
))
37
->withTitle($title)
38
->withPosition(40)
39
->withSymbol($icon)
40
->withAction(
$dic
->ctrl()->getLinkTargetByClass([
"ilMembershipOverviewGUI"
],
""
))
41
->withParent(
StandardTopItemsProvider::getInstance
()->getRepositoryIdentification())
42
->withVisibilityCallable($access_helper->isUserLoggedIn($access_helper->isUserLoggedIn($access_helper->isRepositoryReadable())));
43
44
return
$entries;
45
}
46
}
StandardTopItemsProvider
BasicAccessCheckClosures
ILIAS\GlobalScreen\Helper\BasicAccessCheckClosures\getInstance
static getInstance()
Definition:
BasicAccessCheckClosures.php:34
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider
Interface StaticMainMenuProvider.
Definition:
AbstractStaticMainMenuProvider.php:14
AbstractStaticMainMenuProvider
if
if(!file_exists(getcwd() . '/ilias.ini.php'))
registration confirmation script for ilias
Definition:
confirmReg.php:12
ILIAS\Membership\GlobalScreen\MembershipMainBarProvider
Main menu entry for derived tasks.
Definition:
class.MembershipMainBarProvider.php:12
ilUtil\getImagePath
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
Definition:
class.ilUtil.php:80
ILIAS\MainMenu\Provider\StandardTopItemsProvider\getInstance
static getInstance()
Definition:
StandardTopItemsProvider.php:55
ILIAS\Membership\GlobalScreen\MembershipMainBarProvider\getStaticSubItems
getStaticSubItems()
Definition:
class.MembershipMainBarProvider.php:27
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider\$dic
$dic
Definition:
AbstractStaticMainMenuProvider.php:20
ILIAS\Membership\GlobalScreen\MembershipMainBarProvider\getStaticTopItems
getStaticTopItems()
Definition:
class.MembershipMainBarProvider.php:18
ILIAS\Membership\GlobalScreen
Definition:
class.MembershipMainBarProvider.php:1
Services
Membership
GlobalScreen
classes
class.MembershipMainBarProvider.php
Generated on Sun Apr 6 2025 20:01:26 for ILIAS by
1.8.13 (using
Doxyfile
)