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
ContactMainBarProvider.php
Go to the documentation of this file.
1
<?php
namespace
ILIAS\Contact\Provider
;
2
3
use
ilBuddySystem
;
4
use
ilContactGUI
;
5
use
ilDashboardGUI
;
6
use
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider
;
7
use
ILIAS\MainMenu\Provider\StandardTopItemsProvider
;
8
use
ILIAS\UI\Component\Symbol\Icon\Standard
;
9
15
class
ContactMainBarProvider
extends
AbstractStaticMainMenuProvider
16
{
17
21
public
function
getStaticTopItems
() : array
22
{
23
return
[];
24
}
25
26
30
public
function
getStaticSubItems
() : array
31
{
32
$title = $this->dic->language()->txt(
"mm_contacts"
);
33
34
$icon = $this->dic->ui()->factory()
35
->symbol()
36
->icon()
37
->standard(
Standard::CADM
,
'contacts'
)->withIsOutlined(
true
);
38
39
40
return
[
41
$this->mainmenu->link($this->
if
->identifier(
'mm_pd_contacts'
))
42
->withTitle($title)
43
->withAction($this->dic->ctrl()->getLinkTargetByClass([ilDashboardGUI::class, ilContactGUI::class]))
44
->withParent(
StandardTopItemsProvider::getInstance
()->getCommunicationIdentification())
45
->withPosition(20)
46
->withSymbol($icon)
47
->withNonAvailableReason($this->dic->ui()->factory()->legacy(
"{$this->dic->language()->txt('component_not_active')}"
))
48
->withAvailableCallable(
49
function
() {
50
return
(
bool
) (
ilBuddySystem::getInstance
()->isEnabled());
51
}
52
),
53
];
54
}
55
}
ILIAS\Contact\Provider\ContactMainBarProvider
Class ContactMainBarProvider.
Definition:
ContactMainBarProvider.php:15
ilContactGUI
StandardTopItemsProvider
Standard
ilBuddySystem\getInstance
static getInstance()
Definition:
class.ilBuddySystem.php:36
ilDashboardGUI
ILIAS\Contact\Provider\ContactMainBarProvider\getStaticTopItems
getStaticTopItems()
Definition:
ContactMainBarProvider.php:21
ilBuddySystem
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider
Interface StaticMainMenuProvider.
Definition:
AbstractStaticMainMenuProvider.php:32
AbstractStaticMainMenuProvider
if
if(!file_exists(getcwd() . '/ilias.ini.php'))
registration confirmation script for ilias
Definition:
confirmReg.php:12
ILIAS\MainMenu\Provider\StandardTopItemsProvider\getInstance
static getInstance()
Definition:
StandardTopItemsProvider.php:71
ILIAS\Contact\Provider
Definition:
ContactMainBarProvider.php:1
ILIAS\UI\Component\Symbol\Icon\Standard\CADM
const CADM
Definition:
Standard.php:113
ILIAS\Contact\Provider\ContactMainBarProvider\getStaticSubItems
getStaticSubItems()
Definition:
ContactMainBarProvider.php:30
Services
Contact
classes
Provider
ContactMainBarProvider.php
Generated on Sun Apr 6 2025 21:01:18 for ILIAS by
1.8.13 (using
Doxyfile
)