|
ILIAS
release_8 Revision v8.24
|
Description of class class. More...
Inheritance diagram for ilCopyFilesToTempDirectoryJob:
Collaboration diagram for ilCopyFilesToTempDirectoryJob:Public Member Functions | |
| __construct () | |
| Constructor. More... | |
| getInputTypes () | |
| getOutputType () | |
| isStateless () | |
| run (array $input, Observer $observer) | |
| run the job 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 () | |
| run (array $input, Observer $observer) | |
| isStateless () | |
| getInput () | |
| getExpectedTimeOfTaskInSeconds () | |
Protected Member Functions | |
| createUniqueTempDirectory () | |
| createTargetDirectory ($a_tmpdir) | |
| copyFiles (string $tmpdir, ilCopyDefinition $definition) | |
| Copy files. More... | |
Protected Member Functions inherited from ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask | |
| checkTypes ($values) | |
| extractType ($value) | |
Protected Attributes | |
| string | $target_directory = '' |
Protected Attributes inherited from ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask | |
| array | $input = [] |
| ILIAS BackgroundTasks Value | $output |
Private Attributes | |
| ilLogger | $logger |
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 32 of file class.ilCopyFilesToTempDirectoryJob.php.
| ilCopyFilesToTempDirectoryJob::__construct | ( | ) |
Constructor.
Definition at line 41 of file class.ilCopyFilesToTempDirectoryJob.php.
References $DIC, and ILIAS\Repository\logger().
Here is the call graph for this function:
|
protected |
Copy files.
Definition at line 135 of file class.ilCopyFilesToTempDirectoryJob.php.
References ilCopyDefinition\COPY_SOURCE_DIR, ilCopyDefinition\COPY_TARGET_DIR, ilCopyDefinition\getCopyDefinitions(), ILIAS\Repository\logger(), and ilFileUtils\makeDirParents().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 122 of file class.ilCopyFilesToTempDirectoryJob.php.
References $target_directory, ILIAS\Repository\logger(), and ilFileUtils\makeDirParents().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 112 of file class.ilCopyFilesToTempDirectoryJob.php.
References ilFileUtils\ilTempnam(), ILIAS\Repository\logger(), and ilFileUtils\makeDirParents().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCopyFilesToTempDirectoryJob::getExpectedTimeOfTaskInSeconds | ( | ) |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 183 of file class.ilCopyFilesToTempDirectoryJob.php.
| ilCopyFilesToTempDirectoryJob::getInputTypes | ( | ) |
Implements ILIAS\BackgroundTasks\Task.
Definition at line 51 of file class.ilCopyFilesToTempDirectoryJob.php.
| ilCopyFilesToTempDirectoryJob::getOutputType | ( | ) |
Implements ILIAS\BackgroundTasks\Task.
Definition at line 63 of file class.ilCopyFilesToTempDirectoryJob.php.
| ilCopyFilesToTempDirectoryJob::isStateless | ( | ) |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 69 of file class.ilCopyFilesToTempDirectoryJob.php.
| ilCopyFilesToTempDirectoryJob::run | ( | array | $input, |
| Observer | $observer | ||
| ) |
run the job
| Value | $input |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 79 of file class.ilCopyFilesToTempDirectoryJob.php.
References ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask\$input, $out, copyFiles(), createTargetDirectory(), createUniqueTempDirectory(), and ILIAS\Repository\logger().
Here is the call graph for this function:
|
private |
Definition at line 34 of file class.ilCopyFilesToTempDirectoryJob.php.
|
protected |
Definition at line 35 of file class.ilCopyFilesToTempDirectoryJob.php.
Referenced by createTargetDirectory().