ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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 ($a_tmpdir) | |
copyFiles ($tmpdir, ilWorkspaceCopyDefinition $definition) | |
Copy files. More... | |
![]() | |
checkTypes ($values) | |
extractType ($value) | |
Protected Attributes | |
$target_directory | |
![]() | |
$input = [] | |
$output | |
Private Attributes | |
$logger = null | |
Additional Inherited Members | |
![]() | |
const | MAIN_REMOVE = 'bt_main_remove' |
const | MAIN_ABORT = 'bt_main_abort' |
Description of class class.
Definition at line 19 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
ilCopyWorkspaceFilesToTempDirectoryJob::__construct | ( | ) |
Constructor.
Definition at line 35 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
References ilLoggerFactory\getLogger().
|
protected |
Copy files.
string | $tmpdir | |
ilWorkspaceCopyDefinition | $definition |
Definition at line 122 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
References ilWorkspaceCopyDefinition\COPY_SOURCE_DIR, ilWorkspaceCopyDefinition\COPY_TARGET_DIR, ilWorkspaceCopyDefinition\getCopyDefinitions(), and ilUtil\makeDirParents().
Referenced by run().
|
protected |
Definition at line 108 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
References $target_directory, and ilUtil\makeDirParents().
Referenced by run().
|
protected |
Definition at line 100 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
References ilUtil\ilTempnam(), and ilUtil\makeDirParents().
Referenced by run().
ilCopyWorkspaceFilesToTempDirectoryJob::getExpectedTimeOfTaskInSeconds | ( | ) |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 159 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
ilCopyWorkspaceFilesToTempDirectoryJob::getInputTypes | ( | ) |
Implements ILIAS\BackgroundTasks\Task.
Definition at line 42 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
ilCopyWorkspaceFilesToTempDirectoryJob::getOutputType | ( | ) |
Implements ILIAS\BackgroundTasks\Task.
Definition at line 54 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
ilCopyWorkspaceFilesToTempDirectoryJob::isStateless | ( | ) |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 59 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
ilCopyWorkspaceFilesToTempDirectoryJob::run | ( | array | $input, |
Observer | $observer | ||
) |
run the job
Value | $input | |
Observer | $observer |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 69 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
References $out, copyFiles(), createTargetDirectory(), and createUniqueTempDirectory().
|
private |
Definition at line 24 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
|
protected |
Definition at line 29 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
Referenced by createTargetDirectory().