| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
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 () | |
  | |
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 | ||
| ) | 
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().
 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.