ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
Collect files for downloading all media items. More...
Public Member Functions | |
__construct () | |
getInputTypes () | |
getOutputType () | |
isStateless () | |
getExpectedTimeOfTaskInSeconds () | |
run (array $input, Observer $observer) | |
collectMediaFiles (string $target_dir) | |
![]() | |
getInput () | |
| |
![]() | |
setInput (array $values) | |
getOutput () | |
getInput () | |
getType () | |
unfoldTask () | |
Unfold the task. More... | |
getRemoveOption () | |
| |
getAbortOption () | |
| |
Protected Member Functions | |
createDirectory () | |
![]() | |
checkTypes ($values) | |
extractType ($value) | |
Protected Attributes | |
int | $user_id = 0 |
int | $mcst_id = 0 |
int | $mcst_ref_id = 0 |
ilLanguage | $lng |
string | $target_directory = "" |
string | $temp_dir = "" |
string | $sanitized_title = "" |
ilObjMediaCast | $media_cast |
![]() | |
array | $input = [] |
ILIAS BackgroundTasks Value | $output |
Private Attributes | |
ilLogger | $logger = null |
Additional Inherited Members | |
![]() | |
const | MAIN_REMOVE = 'bt_main_remove' |
const | MAIN_ABORT = 'bt_main_abort' |
Collect files for downloading all media items.
Definition at line 32 of file DownloadAllCollectFilesJob.php.
ILIAS\MediaCast\BackgroundTasks\DownloadAllCollectFilesJob::__construct | ( | ) |
Definition at line 44 of file DownloadAllCollectFilesJob.php.
References $DIC, ILIAS\Repository\lng(), and ILIAS\Repository\logger().
ILIAS\MediaCast\BackgroundTasks\DownloadAllCollectFilesJob::collectMediaFiles | ( | string | $target_dir | ) |
Definition at line 110 of file DownloadAllCollectFilesJob.php.
References ilObjMediaObject\_getDirectory().
Referenced by ILIAS\MediaCast\BackgroundTasks\DownloadAllCollectFilesJob\run().
|
protected |
Definition at line 97 of file DownloadAllCollectFilesJob.php.
References $path, ILIAS\MediaCast\BackgroundTasks\DownloadAllCollectFilesJob\$sanitized_title, ILIAS\MediaCast\BackgroundTasks\DownloadAllCollectFilesJob\$target_directory, ilFileUtils\ilTempnam(), and ilFileUtils\makeDirParents().
Referenced by ILIAS\MediaCast\BackgroundTasks\DownloadAllCollectFilesJob\run().
ILIAS\MediaCast\BackgroundTasks\DownloadAllCollectFilesJob::getExpectedTimeOfTaskInSeconds | ( | ) |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 73 of file DownloadAllCollectFilesJob.php.
ILIAS\MediaCast\BackgroundTasks\DownloadAllCollectFilesJob::getInputTypes | ( | ) |
Implements ILIAS\BackgroundTasks\Task.
Definition at line 54 of file DownloadAllCollectFilesJob.php.
ILIAS\MediaCast\BackgroundTasks\DownloadAllCollectFilesJob::getOutputType | ( | ) |
Implements ILIAS\BackgroundTasks\Task.
Definition at line 63 of file DownloadAllCollectFilesJob.php.
ILIAS\MediaCast\BackgroundTasks\DownloadAllCollectFilesJob::isStateless | ( | ) |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 68 of file DownloadAllCollectFilesJob.php.
ILIAS\MediaCast\BackgroundTasks\DownloadAllCollectFilesJob::run | ( | array | $input, |
Observer | $observer | ||
) |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 78 of file DownloadAllCollectFilesJob.php.
References $out, ILIAS\MediaCast\BackgroundTasks\DownloadAllCollectFilesJob\collectMediaFiles(), ILIAS\MediaCast\BackgroundTasks\DownloadAllCollectFilesJob\createDirectory(), ILIAS\BackgroundTasks\Implementation\Values\ScalarValues\ScalarValue\getValue(), and ILIAS\Repository\logger().
|
protected |
Definition at line 38 of file DownloadAllCollectFilesJob.php.
|
private |
Definition at line 34 of file DownloadAllCollectFilesJob.php.
|
protected |
Definition at line 36 of file DownloadAllCollectFilesJob.php.
|
protected |
Definition at line 37 of file DownloadAllCollectFilesJob.php.
|
protected |
Definition at line 42 of file DownloadAllCollectFilesJob.php.
|
protected |
Definition at line 41 of file DownloadAllCollectFilesJob.php.
Referenced by ILIAS\MediaCast\BackgroundTasks\DownloadAllCollectFilesJob\createDirectory().
|
protected |
Definition at line 39 of file DownloadAllCollectFilesJob.php.
Referenced by ILIAS\MediaCast\BackgroundTasks\DownloadAllCollectFilesJob\createDirectory().
|
protected |
Definition at line 40 of file DownloadAllCollectFilesJob.php.
|
protected |
Definition at line 35 of file DownloadAllCollectFilesJob.php.