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
MockObserver.php
Go to the documentation of this file.
1
<?php
2
3
namespace
ILIAS\BackgroundTasks\Implementation\TaskManager
;
4
5
use
ILIAS\BackgroundTasks\Observer
;
6
use
ILIAS\BackgroundTasks\Task
;
7
15
class
MockObserver
implements
Observer
16
{
17
22
public
function
notifyState
($state)
23
{
24
// Does nothing.
25
}
26
27
33
public
function
notifyPercentage
(
Task
$task, $percentage)
34
{
35
// Does nothing.
36
}
37
38
43
public
function
notifyCurrentTask
(
Task
$task)
44
{
45
// Does nothing.
46
}
47
48
55
public
function
heartbeat
()
56
{
57
// Does nothing.
58
}
59
}
ILIAS\BackgroundTasks\Task
Definition:
Task.php:21
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:55
Observer
ILIAS\BackgroundTasks\Implementation\TaskManager\MockObserver\notifyPercentage
notifyPercentage(Task $task, $percentage)
Definition:
MockObserver.php:33
ILIAS\BackgroundTasks\Observer
Definition:
Observer.php:5
ILIAS\BackgroundTasks\Task
Definition:
Job.php:3
ILIAS\BackgroundTasks\Implementation\TaskManager\MockObserver
Definition:
MockObserver.php:15
ILIAS\BackgroundTasks\Implementation\TaskManager\MockObserver\notifyCurrentTask
notifyCurrentTask(Task $task)
Definition:
MockObserver.php:43
ILIAS\BackgroundTasks\Implementation\TaskManager\MockObserver\notifyState
notifyState($state)
Definition:
MockObserver.php:22
ILIAS\BackgroundTasks\Implementation\TaskManager
Definition:
AsyncTaskManager.php:3
src
BackgroundTasks
Implementation
TaskManager
MockObserver.php
Generated on Sun Apr 6 2025 20:01:36 for ILIAS by
1.8.13 (using
Doxyfile
)