ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
MockObserver.php
Go to the documentation of this file.
1
<?php
2
19
namespace
ILIAS\BackgroundTasks\Implementation\TaskManager
;
20
21
use
ILIAS\BackgroundTasks\Observer
;
22
use
ILIAS\BackgroundTasks\Task
;
23
29
class
MockObserver
implements
Observer
30
{
34
public
function
notifyState
(
int
$state): void
35
{
36
// Does nothing.
37
}
38
39
public
function
notifyPercentage
(
Task
$task,
int
$percentage): void
40
{
41
// Does nothing.
42
}
43
44
public
function
notifyCurrentTask
(
Task
$task): void
45
{
46
// Does nothing.
47
}
48
53
public
function
heartbeat
(): void
54
{
55
// Does nothing.
56
}
57
}
ILIAS\BackgroundTasks\Implementation\TaskManager\MockObserver\notifyState
notifyState(int $state)
Definition:
MockObserver.php:34
ILIAS\BackgroundTasks\Task
Definition:
Task.php:35
ILIAS\BackgroundTasks\Implementation\TaskManager\MockObserver\heartbeat
heartbeat()
I'm still alive! If your calculation takes a really long time don't forget to use the heartbeat...
Definition:
MockObserver.php:53
Observer
ILIAS\BackgroundTasks\Observer
Definition:
Observer.php:21
ILIAS\BackgroundTasks\Task
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
Job.php:19
ILIAS\BackgroundTasks\Implementation\TaskManager\MockObserver\notifyPercentage
notifyPercentage(Task $task, int $percentage)
Definition:
MockObserver.php:39
ILIAS\BackgroundTasks\Implementation\TaskManager\MockObserver
Definition:
MockObserver.php:29
ILIAS\BackgroundTasks\Implementation\TaskManager\MockObserver\notifyCurrentTask
notifyCurrentTask(Task $task)
Definition:
MockObserver.php:44
ILIAS\BackgroundTasks\Implementation\TaskManager
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
AsyncTaskManager.php:19
components
ILIAS
BackgroundTasks
src
Implementation
TaskManager
MockObserver.php
Generated on Sun Apr 13 2025 23:02:15 for ILIAS by
1.8.13 (using
Doxyfile
)