ILIAS
release_8 Revision v8.19
|
Description of class class. More...
Public Member Functions | |
__construct () | |
Construct. More... | |
getInputTypes () | |
getOutputType () | |
isStateless () | |
run (array $input, \ILIAS\BackgroundTasks\Observer $observer) | |
getExpectedTimeOfTaskInSeconds () | |
| |
![]() | |
getInput () | |
| |
![]() | |
setInput (array $values) | |
getOutput () | |
getInput () | |
getType () | |
unfoldTask () | |
Unfold the task. More... | |
getRemoveOption () | |
| |
getAbortOption () | |
| |
![]() | |
run (array $input, Observer $observer) | |
Protected Member Functions | |
calculateRecursive (array $a_ref_ids, int &$a_file_size) | |
Calculates the number and size of the files being downloaded recursively. More... | |
validateAccess (int $ref_id) | |
Check file access. More... | |
![]() | |
checkTypes ($values) | |
extractType ($value) | |
Protected Attributes | |
ilSetting | $settings |
![]() | |
array | $input = [] |
ILIAS BackgroundTasks Value | $output |
Private Attributes | |
ilLogger | $logger |
Additional Inherited Members | |
![]() | |
const | MAIN_REMOVE = 'bt_main_remove' |
const | MAIN_ABORT = 'bt_main_abort' |
Description of class class.
Definition at line 30 of file class.ilCheckSumOfFileSizesJob.php.
ilCheckSumOfFileSizesJob::__construct | ( | ) |
Construct.
Definition at line 39 of file class.ilCheckSumOfFileSizesJob.php.
References $DIC, ILIAS\Repository\logger(), and ILIAS\Repository\settings().
|
protected |
Calculates the number and size of the files being downloaded recursively.
Definition at line 114 of file class.ilCheckSumOfFileSizesJob.php.
References $DIC, $ref_id, ilObjFileAccess\_lookupFileSize(), ilObject\_lookupType(), and validateAccess().
Referenced by run().
ilCheckSumOfFileSizesJob::getExpectedTimeOfTaskInSeconds | ( | ) |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 167 of file class.ilCheckSumOfFileSizesJob.php.
ilCheckSumOfFileSizesJob::getInputTypes | ( | ) |
Implements ILIAS\BackgroundTasks\Task.
Definition at line 50 of file class.ilCheckSumOfFileSizesJob.php.
ilCheckSumOfFileSizesJob::getOutputType | ( | ) |
Implements ILIAS\BackgroundTasks\Task.
Definition at line 62 of file class.ilCheckSumOfFileSizesJob.php.
ilCheckSumOfFileSizesJob::isStateless | ( | ) |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 71 of file class.ilCheckSumOfFileSizesJob.php.
ilCheckSumOfFileSizesJob::run | ( | array | $input, |
\ILIAS\BackgroundTasks\Observer | $observer | ||
) |
Definition at line 81 of file class.ilCheckSumOfFileSizesJob.php.
References calculateRecursive(), ILIAS\Repository\int(), ILIAS\Repository\logger(), and ILIAS\Repository\settings().
|
protected |
Check file access.
Definition at line 152 of file class.ilCheckSumOfFileSizesJob.php.
References $DIC, and ilObject\_isInTrash().
Referenced by calculateRecursive().
|
private |
Definition at line 32 of file class.ilCheckSumOfFileSizesJob.php.
|
protected |
Definition at line 33 of file class.ilCheckSumOfFileSizesJob.php.