ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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 ($a_ref_ids, &$a_file_size) | |
Calculates the number and size of the files being downloaded recursively. More... | |
validateAccess ($ref_id) | |
Check file access. More... | |
![]() | |
checkTypes ($values) | |
extractType ($value) | |
Protected Attributes | |
$settings | |
![]() | |
$input = [] | |
$output | |
Private Attributes | |
$logger = null | |
Additional Inherited Members | |
![]() | |
const | MAIN_REMOVE = 'bt_main_remove' |
const | MAIN_ABORT = 'bt_main_abort' |
Description of class class.
Definition at line 14 of file class.ilCheckSumOfFileSizesJob.php.
ilCheckSumOfFileSizesJob::__construct | ( | ) |
Construct.
Definition at line 30 of file class.ilCheckSumOfFileSizesJob.php.
References $GLOBALS, and settings().
|
protected |
Calculates the number and size of the files being downloaded recursively.
array | $a_ref_ids | |
int | & $a_file_count | |
int | & $a_file_size |
Definition at line 107 of file class.ilCheckSumOfFileSizesJob.php.
References $DIC, ilObjFileAccess\_lookupFileSize(), ilObject\_lookupObjId(), ilObject\_lookupType(), and validateAccess().
Referenced by run().
ilCheckSumOfFileSizesJob::getExpectedTimeOfTaskInSeconds | ( | ) |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 169 of file class.ilCheckSumOfFileSizesJob.php.
ilCheckSumOfFileSizesJob::getInputTypes | ( | ) |
Implements ILIAS\BackgroundTasks\Task.
Definition at line 40 of file class.ilCheckSumOfFileSizesJob.php.
ilCheckSumOfFileSizesJob::getOutputType | ( | ) |
Implements ILIAS\BackgroundTasks\Task.
Definition at line 52 of file class.ilCheckSumOfFileSizesJob.php.
ilCheckSumOfFileSizesJob::isStateless | ( | ) |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 61 of file class.ilCheckSumOfFileSizesJob.php.
ilCheckSumOfFileSizesJob::run | ( | array | $input, |
\ILIAS\BackgroundTasks\Observer | $observer | ||
) |
Definition at line 71 of file class.ilCheckSumOfFileSizesJob.php.
References calculateRecursive(), and settings().
|
protected |
Check file access.
int | $ref_id |
Definition at line 149 of file class.ilCheckSumOfFileSizesJob.php.
References $DIC, and ilObject\_isInTrash().
Referenced by calculateRecursive().
|
private |
Definition at line 20 of file class.ilCheckSumOfFileSizesJob.php.
|
protected |
Definition at line 24 of file class.ilCheckSumOfFileSizesJob.php.