ILIAS  release_7 Revision v7.30-3-g800a261c036
UserInteraction.php
Go to the documentation of this file.
1<?php
2
4
9
17interface UserInteraction extends Task
18{
19
25 public function getOptions(array $input);
26
27
37 public function canBeSkipped(array $input) : bool;
38
39
48 public function getSkippedValue(array $input) : Value;
49
53 public function isFinal(): bool;
54
55
64 public function interaction(array $input, Option $user_selected_option, Bucket $bucket);
65
66
73 public function getMessage(array $input);
74}
An exception for terminatinating execution or to throw for unit testing.
canBeSkipped(array $input)
Decide whether the UserInteraction is presented to the user and he has to decide or user UserInteract...
interaction(array $input, Option $user_selected_option, Bucket $bucket)