|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Description of class class. More...
Inheritance diagram for ilCopyWorkspaceFilesToTempDirectoryJob:
Collaboration diagram for ilCopyWorkspaceFilesToTempDirectoryJob: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, ilWorkspaceCopyDefinition $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 19 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
| ilCopyWorkspaceFilesToTempDirectoryJob::__construct | ( | ) |
Constructor.
Definition at line 35 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
References ilLoggerFactory\getLogger().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 108 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.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 100 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.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:| 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 ILIAS\BackgroundTasks\Implementation\Tasks\AbstractTask\$input, $out, copyFiles(), createTargetDirectory(), and createUniqueTempDirectory().
Here is the call graph for this function:
|
private |
Definition at line 24 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
|
protected |
Definition at line 29 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
Referenced by createTargetDirectory().