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
DerivedTaskMainBarProvider.php
Go to the documentation of this file.
1
<?php
namespace
ILIAS\Tasks\DerivedTasks\Provider
;
2
3
use
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider
;
4
use
ILIAS\MainMenu\Provider\StandardTopItemsProvider
;
5
use
ILIAS\UI\Component\Symbol\Icon\Standard
;
6
12
class
DerivedTaskMainBarProvider
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
31
$title = $this->dic->language()->txt(
"mm_task_derived_tasks"
);
32
$icon = $this->dic->ui()->factory()->symbol()->icon()->standard(
Standard::TASK
, $title)->withIsOutlined(
true
);
33
34
// derived tasks list
35
$entries[] = $this->mainmenu->link($this->
if
->identifier(
'mm_derived_task_list'
))
36
->withTitle($title)
37
->withPosition(40)
38
->withSymbol($icon)
39
->withAction(
$dic
->ctrl()->getLinkTargetByClass([
"ilDerivedTasksGUI"
],
""
))
40
->withParent(
StandardTopItemsProvider::getInstance
()->getPersonalWorkspaceIdentification())
41
->withVisibilityCallable(
42
function
() use (
$dic
) {
43
return
true
;
44
}
45
);
46
47
return
$entries;
48
}
49
}
StandardTopItemsProvider
ILIAS\Tasks\DerivedTasks\Provider
Definition:
DerivedTaskMainBarProvider.php:1
Standard
ILIAS\Tasks\DerivedTasks\Provider\DerivedTaskMainBarProvider
Main menu entry for derived tasks.
Definition:
DerivedTaskMainBarProvider.php:12
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider
Interface StaticMainMenuProvider.
Definition:
AbstractStaticMainMenuProvider.php:14
AbstractStaticMainMenuProvider
ILIAS\Tasks\DerivedTasks\Provider\DerivedTaskMainBarProvider\getStaticSubItems
getStaticSubItems()
Definition:
DerivedTaskMainBarProvider.php:27
ILIAS\UI\Component\Symbol\Icon\Standard\TASK
const TASK
Definition:
Standard.php:129
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:55
ILIAS\Tasks\DerivedTasks\Provider\DerivedTaskMainBarProvider\getStaticTopItems
getStaticTopItems()
Definition:
DerivedTaskMainBarProvider.php:18
ILIAS\GlobalScreen\Scope\MainMenu\Provider\AbstractStaticMainMenuProvider\$dic
$dic
Definition:
AbstractStaticMainMenuProvider.php:20
Services
Tasks
GlobalScreen
classes
DerivedTaskMainBarProvider.php
Generated on Sat Apr 5 2025 20:01:31 for ILIAS by
1.8.13 (using
Doxyfile
)