|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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 ($tmpdir, ilCopyDefinition $definition) | |
| Copy files. More... | |
Protected Member Functions inherited from ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask | |
| checkTypes ($values) | |
| extractType ($value) | |
Protected Attributes | |
| $target_directory | |
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 17 of file class.ilCopyFilesToTempDirectoryJob.php.
| ilCopyFilesToTempDirectoryJob::__construct | ( | ) |
Constructor.
Definition at line 33 of file class.ilCopyFilesToTempDirectoryJob.php.
References $GLOBALS.
|
protected |
Copy files.
| string | $tmpdir | |
| ilCopyDefinition | $definition |
Definition at line 131 of file class.ilCopyFilesToTempDirectoryJob.php.
References ilCopyDefinition\COPY_SOURCE_DIR, ilCopyDefinition\COPY_TARGET_DIR, ilCopyDefinition\getCopyDefinitions(), and ilUtil\makeDirParents().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 115 of file class.ilCopyFilesToTempDirectoryJob.php.
References $target_directory, and ilUtil\makeDirParents().
Referenced by run().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 105 of file class.ilCopyFilesToTempDirectoryJob.php.
References ilUtil\ilTempnam(), and ilUtil\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 181 of file class.ilCopyFilesToTempDirectoryJob.php.
| ilCopyFilesToTempDirectoryJob::getInputTypes | ( | ) |
Implements ILIAS\BackgroundTasks\Task.
Definition at line 41 of file class.ilCopyFilesToTempDirectoryJob.php.
| ilCopyFilesToTempDirectoryJob::getOutputType | ( | ) |
Implements ILIAS\BackgroundTasks\Task.
Definition at line 54 of file class.ilCopyFilesToTempDirectoryJob.php.
| ilCopyFilesToTempDirectoryJob::isStateless | ( | ) |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 60 of file class.ilCopyFilesToTempDirectoryJob.php.
| ilCopyFilesToTempDirectoryJob::run | ( | array | $input, |
| Observer | $observer | ||
| ) |
run the job
| Value | $input | |
| Observer | $observer |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 72 of file class.ilCopyFilesToTempDirectoryJob.php.
References ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask\$input, $out, copyFiles(), createTargetDirectory(), and createUniqueTempDirectory().
Here is the call graph for this function:
|
private |
Definition at line 23 of file class.ilCopyFilesToTempDirectoryJob.php.
|
protected |
Definition at line 27 of file class.ilCopyFilesToTempDirectoryJob.php.
Referenced by createTargetDirectory().