ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
Description of class class. More...
Public Member Functions | |
__construct () | |
Constructor. More... | |
getInputTypes () | |
getOutputType () | |
isStateless () | |
run (array $input, Observer $observer) | |
run the job More... | |
getExpectedTimeOfTaskInSeconds () | |
| |
![]() | |
getInput () | |
| |
![]() | |
setInput (array $values) | |
getOutput () | |
getInput () | |
getType () | |
unfoldTask () | |
Unfold the task. More... | |
getRemoveOption () | |
| |
getAbortOption () | |
| |
Protected Member Functions | |
createUniqueTempDirectory () | |
createTargetDirectory (string $a_tmpdir) | |
copyFiles (string $tmpdir, ilCopyDefinition $definition) | |
Copy files. More... | |
![]() | |
checkTypes (array $values) | |
extractType ($value) | |
Protected Attributes | |
string | $target_directory = '' |
![]() | |
array | $input = [] |
Value | $output |
Private Attributes | |
ilLogger | $logger |
Additional Inherited Members | |
![]() | |
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().
|
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().
|
protected |
Definition at line 122 of file class.ilCopyFilesToTempDirectoryJob.php.
References $target_directory, ILIAS\Repository\logger(), and ilFileUtils\makeDirParents().
Referenced by run().
|
protected |
Definition at line 112 of file class.ilCopyFilesToTempDirectoryJob.php.
References ilFileUtils\ilTempnam(), ILIAS\Repository\logger(), and ilFileUtils\makeDirParents().
Referenced by run().
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 $out, copyFiles(), createTargetDirectory(), createUniqueTempDirectory(), and ILIAS\Repository\logger().
|
private |
Definition at line 34 of file class.ilCopyFilesToTempDirectoryJob.php.
|
protected |
Definition at line 35 of file class.ilCopyFilesToTempDirectoryJob.php.
Referenced by createTargetDirectory().