|
ILIAS
release_8 Revision v8.24
|
Collect files for downloading all media items. More...
Inheritance diagram for ILIAS\MediaCast\BackgroundTasks\DownloadAllCollectFilesJob:
Collaboration diagram for ILIAS\MediaCast\BackgroundTasks\DownloadAllCollectFilesJob:Public Member Functions | |
| __construct () | |
| getInputTypes () | |
| getOutputType () | |
| isStateless () | |
| getExpectedTimeOfTaskInSeconds () | |
| run (array $input, Observer $observer) | |
| collectMediaFiles (string $target_dir) | |
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 () | |
| run (array $input, Observer $observer) | |
| isStateless () | |
| getInput () | |
| getExpectedTimeOfTaskInSeconds () | |
Protected Member Functions | |
| createDirectory () | |
Protected Member Functions inherited from ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask | |
| 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 |
Protected Attributes inherited from ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask | |
| array | $input = [] |
| ILIAS BackgroundTasks Value | $output |
Private Attributes | |
| ilLogger | $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' |
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().
Here is the call graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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 | ||
| ) |
| \ILIAS\BackgroundTasks\Value[] | $input | This will be a list of Values hinted by getInputTypes. |
| Observer | $observer | Notify the bucket about your progress! |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 78 of file DownloadAllCollectFilesJob.php.
References ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask\$input, $out, ILIAS\MediaCast\BackgroundTasks\DownloadAllCollectFilesJob\collectMediaFiles(), ILIAS\MediaCast\BackgroundTasks\DownloadAllCollectFilesJob\createDirectory(), and ILIAS\Repository\logger().
Here is the call graph for this function:
|
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.