|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Description of class class. More...
Inheritance diagram for ilCheckSumOfFileSizesJob:
Collaboration diagram for ilCheckSumOfFileSizesJob:Public Member Functions | |
| __construct () | |
| Construct. More... | |
| getInputTypes () | |
| @inheritDoc More... | |
| getOutputType () | |
| @inheritDoc More... | |
| isStateless () | |
| @inheritDoc More... | |
| run (array $input, \ILIAS\BackgroundTasks\Observer $observer) | |
| @inheritDoc More... | |
| getExpectedTimeOfTaskInSeconds () | |
| |
Public Member Functions inherited from ILIAS\BackgroundTasks\Implementation\Tasks\AbstractJob | |
| getInput () | |
| |
Public Member Functions inherited from ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask | |
| setInput (array $values) | |
| getOutput () | |
| getInput () | |
| getType () | |
| unfoldTask () | |
| Unfold the task. More... | |
| getRemoveOption () | |
| |
| getAbortOption () | |
| |
| getType () | |
| getInputTypes () | |
| getOutputType () | |
| getOutput () | |
| setInput (array $values) | |
| getInput () | |
| unfoldTask () | |
| getRemoveOption () | |
| getAbortOption () | |
Public Member Functions inherited from ILIAS\BackgroundTasks\Task\Job | |
| run (array $input, Observer $observer) | |
| isStateless () | |
| getInput () | |
| getExpectedTimeOfTaskInSeconds () | |
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... | |
Protected Member Functions inherited from ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask | |
| checkTypes ($values) | |
| extractType ($value) | |
Protected Attributes | |
| $settings | |
Protected Attributes inherited from ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask | |
| $input = [] | |
| $output | |
Private Attributes | |
| $logger = null | |
Additional Inherited Members | |
Data Fields inherited from ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask | |
| 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().
Here is the call graph for this function:
|
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(), calculateRecursive(), and validateAccess().
Referenced by calculateRecursive(), and run().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCheckSumOfFileSizesJob::getExpectedTimeOfTaskInSeconds | ( | ) |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 169 of file class.ilCheckSumOfFileSizesJob.php.
| ilCheckSumOfFileSizesJob::getInputTypes | ( | ) |
@inheritDoc
Implements ILIAS\BackgroundTasks\Task.
Definition at line 40 of file class.ilCheckSumOfFileSizesJob.php.
| ilCheckSumOfFileSizesJob::getOutputType | ( | ) |
@inheritDoc
Implements ILIAS\BackgroundTasks\Task.
Definition at line 52 of file class.ilCheckSumOfFileSizesJob.php.
| ilCheckSumOfFileSizesJob::isStateless | ( | ) |
@inheritDoc
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 61 of file class.ilCheckSumOfFileSizesJob.php.
| ilCheckSumOfFileSizesJob::run | ( | array | $input, |
| \ILIAS\BackgroundTasks\Observer | $observer | ||
| ) |
@inheritDoc
Definition at line 71 of file class.ilCheckSumOfFileSizesJob.php.
References ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask\$input, calculateRecursive(), and settings().
Here is the call graph for this function:
|
protected |
Check file access.
| int | $ref_id |
Definition at line 149 of file class.ilCheckSumOfFileSizesJob.php.
References $DIC, and ilObject\_isInTrash().
Referenced by calculateRecursive().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 20 of file class.ilCheckSumOfFileSizesJob.php.
|
protected |
Definition at line 24 of file class.ilCheckSumOfFileSizesJob.php.