ILIAS
release_8 Revision v8.19
◀ 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
n
o
p
r
s
t
u
v
w
x
+
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
j
l
m
p
s
t
u
+
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
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilMailDeliveryJobUserInteraction.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
ILIAS\BackgroundTasks\Implementation\Tasks\AbstractUserInteraction
;
22
use
ILIAS\BackgroundTasks\Task\UserInteraction\Option
;
23
use
ILIAS\BackgroundTasks\Types\SingleType
;
24
use
ILIAS\BackgroundTasks\Implementation\Values\ScalarValues\StringValue
;
25
use
ILIAS\BackgroundTasks\Implementation\Tasks\UserInteraction\UserInteractionOption
;
26
use
ILIAS\BackgroundTasks\Types\Type
;
27
use
ILIAS\BackgroundTasks\Value
;
28
33
class
ilMailDeliveryJobUserInteraction
extends
AbstractUserInteraction
34
{
35
public
const
OPTION_CANCEL
=
'cancel'
;
36
37
public
function
getOptions
(array
$input
): array
38
{
39
return
[];
40
}
41
42
public
function
getRemoveOption
():
Option
43
{
44
return
new
UserInteractionOption
(
'remove'
, self::OPTION_CANCEL);
45
}
46
47
public
function
getInputTypes
(): array
48
{
49
return
[];
50
}
51
52
public
function
getOutputType
():
Type
53
{
54
return
new
SingleType
(StringValue::class);
55
}
56
57
public
function
interaction
(
58
array
$input
,
59
ILIAS
\
BackgroundTasks
\Task\UserInteraction\
Option
$user_selected_option,
60
ILIAS
\
BackgroundTasks
\Bucket $bucket
61
):
Value
{
62
return
$input[0];
63
}
64
65
public
function
getMessage
(array
$input
): string
66
{
67
return
''
;
68
}
69
70
public
function
canBeSkipped
(array
$input
): bool
71
{
72
return
true
;
73
}
74
}
SingleType
ilMailDeliveryJobUserInteraction\getRemoveOption
getRemoveOption()
Definition:
class.ilMailDeliveryJobUserInteraction.php:42
ilMailDeliveryJobUserInteraction\canBeSkipped
canBeSkipped(array $input)
Decide whether the UserInteraction is presented to the user and he has to decide or user UserInteract...
Definition:
class.ilMailDeliveryJobUserInteraction.php:70
ILIAS\BackgroundTasks\Implementation\Tasks\AbstractUserInteraction
Definition:
AbstractUserInteraction.php:29
ilMailDeliveryJobUserInteraction
Class ilMailDeliveryJobUserInteraction.
Definition:
class.ilMailDeliveryJobUserInteraction.php:33
ilMailDeliveryJobUserInteraction\getMessage
getMessage(array $input)
Definition:
class.ilMailDeliveryJobUserInteraction.php:65
ILIAS
Class ChatMainBarProvider .
ILIAS\BackgroundTasks\Task\UserInteraction\Option
Definition:
Option.php:27
StringValue
ILIAS\BackgroundTasks\Value
Definition:
Value.php:29
BackgroundTasks
ILIAS\BackgroundTasks\Types\Type
Definition:
Type.php:21
ilMailDeliveryJobUserInteraction\getOptions
getOptions(array $input)
Definition:
class.ilMailDeliveryJobUserInteraction.php:37
ilMailDeliveryJobUserInteraction\getOutputType
getOutputType()
Definition:
class.ilMailDeliveryJobUserInteraction.php:52
ilMailDeliveryJobUserInteraction\getInputTypes
getInputTypes()
Definition:
class.ilMailDeliveryJobUserInteraction.php:47
ILIAS\BackgroundTasks\Types\SingleType
Definition:
SingleType.php:21
ilMailDeliveryJobUserInteraction\interaction
interaction(array $input, ILIAS\BackgroundTasks\Task\UserInteraction\Option $user_selected_option, ILIAS\BackgroundTasks\Bucket $bucket)
Definition:
class.ilMailDeliveryJobUserInteraction.php:57
ilMailDeliveryJobUserInteraction\OPTION_CANCEL
const OPTION_CANCEL
Definition:
class.ilMailDeliveryJobUserInteraction.php:35
UserInteractionOption
ILIAS\BackgroundTasks\Implementation\Tasks\UserInteraction\UserInteractionOption
Definition:
UserInteractionOption.php:23
Type
Value
Option
AbstractUserInteraction
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask\$input
array $input
Definition:
AbstractTask.php:44
Services
Mail
classes
BackgroundTask
class.ilMailDeliveryJobUserInteraction.php
Generated on Fri Apr 4 2025 22:02:49 for ILIAS by
1.8.13 (using
Doxyfile
)