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
class.ilDummyDerivedTaskProvider.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4
10
class
ilDummyDerivedTaskProvider
implements
ilDerivedTaskProvider
11
{
15
protected
$task_service
;
16
20
public
function
__construct
(
ilTaskService
$task_service
)
21
{
22
$this->task_service =
$task_service
;
23
}
24
28
public
function
isActive
() : bool
29
{
30
return
true
;
31
}
32
36
public
function
getTasks
(
int
$user_id) : array
37
{
38
$tasks = [];
39
40
$tasks[] = $this->task_service->derived()->factory()->task(
41
"title"
,
42
123,
43
1234,
44
1000
45
);
46
47
return
$tasks;
48
}
49
}
ilDerivedTaskProvider
Derived task provider.
Definition:
interface.ilDerivedTaskProvider.php:11
ilDummyDerivedTaskProvider\isActive
isActive()
Is provider active?bool
Definition:
class.ilDummyDerivedTaskProvider.php:28
ilDummyDerivedTaskProvider\getTasks
getTasks(int $user_id)
Get providers.ilDerivedTask[]
Definition:
class.ilDummyDerivedTaskProvider.php:36
ilDummyDerivedTaskProvider\$task_service
$task_service
Definition:
class.ilDummyDerivedTaskProvider.php:15
ilDummyDerivedTaskProvider
Dummy derived task provider.
Definition:
class.ilDummyDerivedTaskProvider.php:10
ilDummyDerivedTaskProvider\__construct
__construct(ilTaskService $task_service)
Constructor.
Definition:
class.ilDummyDerivedTaskProvider.php:20
ilTaskService
Task service.
Definition:
class.ilTaskService.php:11
Services
Tasks
test
class.ilDummyDerivedTaskProvider.php
Generated on Sat Apr 5 2025 21:01:39 for ILIAS by
1.8.13 (using
Doxyfile
)