ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ILIAS\File\Sanitation\DownloadSanitationReportUserInteraction Class Reference

Class DownloadSanitationReportUserInteraction. More...

+ Inheritance diagram for ILIAS\File\Sanitation\DownloadSanitationReportUserInteraction:
+ Collaboration diagram for ILIAS\File\Sanitation\DownloadSanitationReportUserInteraction:

Public Member Functions

 getInputTypes ()
 
 getOutputType ()
 
 getOptions (array $input)
 
- Public Member Functions inherited from ILIAS\BackgroundTasks\Implementation\Tasks\AbstractUserInteraction
 getMessage (array $input)
 
 canBeSkipped (array $input)
 
 getSkippedValue (array $input)
 
- Public Member Functions inherited from ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask
 setInput (array $values)
 
 getOutput ()
 
 getInput ()
 
 getType ()
 
 unfoldTask ()
 Unfold the task. More...
 
 getRemoveOption ()
 
Returns
Option An Option to remove the current task and do some cleanup if possible. This Option is displayed if the Bucket is completed. You do not have to provide an additional Option to remove in your UserInteraction, the remove-Option is added to the list of Options (last position)
See also
self::getAbortOption();
More...
 
 getAbortOption ()
 
Returns
Option In case a Job is failed or did not respond for some time, an Abort-Option is displayed. There is already a Standard-Abort-Option registered, you can override with your own and do some cleanup if possible.
More...
 
- Public Member Functions inherited from ILIAS\BackgroundTasks\Task\UserInteraction
 interaction (array $input, Option $user_selected_option, Bucket $bucket)
 

Data Fields

const OPTION_DOWNLOAD = "download"
 
const OPTION_SANITIZE = "sanitize"
 
- Data Fields inherited from ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask
const MAIN_REMOVE = 'bt_main_remove'
 
const MAIN_ABORT = 'bt_main_abort'
 

Additional Inherited Members

- Protected Member Functions inherited from ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask
 checkTypes ($values)
 
 extractType ($value)
 
- Protected Attributes inherited from ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask
 $input = []
 
 $output
 

Detailed Description

Member Function Documentation

◆ getInputTypes()

ILIAS\File\Sanitation\DownloadSanitationReportUserInteraction::getInputTypes ( )
Returns
Type[] A list of types that are taken as input.

Implements ILIAS\BackgroundTasks\Task.

Definition at line 25 of file DownloadSanitationReportUserInteraction.php.

26  {
27  return [new ListType(IntegerValue::class)];
28  }

◆ getOptions()

ILIAS\File\Sanitation\DownloadSanitationReportUserInteraction::getOptions ( array  $input)
Parameters
Value[]$input The input value of this task.
Returns
Option[] Options are buttons the user can press on this interaction.

Implements ILIAS\BackgroundTasks\Task\UserInteraction.

Definition at line 37 of file DownloadSanitationReportUserInteraction.php.

References ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask\$input, $list, ILIAS\BackgroundTasks\Bucket\getTitle(), ILIAS\BackgroundTasks\Task\UserInteraction\Option\getValue(), and ILIAS\BackgroundTasks\Task\UserInteraction\interaction().

38  {
39  return [
40  new UserInteractionOption("download", self::OPTION_DOWNLOAD),
41  // new UserInteractionOption("sanitize", self::OPTION_SANITIZE),
42  ];
43  }
+ Here is the call graph for this function:

◆ getOutputType()

ILIAS\File\Sanitation\DownloadSanitationReportUserInteraction::getOutputType ( )
Returns
Type A single type.

Implements ILIAS\BackgroundTasks\Task.

Definition at line 31 of file DownloadSanitationReportUserInteraction.php.

32  {
33  return [];
34  }

Field Documentation

◆ OPTION_DOWNLOAD

const ILIAS\File\Sanitation\DownloadSanitationReportUserInteraction::OPTION_DOWNLOAD = "download"

Definition at line 21 of file DownloadSanitationReportUserInteraction.php.

◆ OPTION_SANITIZE

const ILIAS\File\Sanitation\DownloadSanitationReportUserInteraction::OPTION_SANITIZE = "sanitize"

Definition at line 22 of file DownloadSanitationReportUserInteraction.php.


The documentation for this class was generated from the following file: