|
ILIAS
release_8 Revision v8.24
|
Description of class class. More...
Inheritance diagram for ilCopyWorkspaceFilesToTempDirectoryJob:
Collaboration diagram for ilCopyWorkspaceFilesToTempDirectoryJob:Public Member Functions | |
| __construct () | |
| getInputTypes () | |
| getOutputType () | |
| isStateless () | |
| run (array $input, Observer $observer) | |
| 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 () | |
| Create unique temp directory. More... | |
| createTargetDirectory (string $a_tmpdir) | |
| copyFiles (string $tmpdir, ilWorkspaceCopyDefinition $definition) | |
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 = 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 33 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
| ilCopyWorkspaceFilesToTempDirectoryJob::__construct | ( | ) |
Definition at line 38 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
References ilLoggerFactory\getLogger(), and ILIAS\Repository\logger().
Here is the call graph for this function:
|
protected |
Definition at line 107 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
References ilWorkspaceCopyDefinition\COPY_SOURCE_DIR, ilWorkspaceCopyDefinition\COPY_TARGET_DIR, 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 99 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.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 |
Create unique temp directory.
Definition at line 91 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.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:| ilCopyWorkspaceFilesToTempDirectoryJob::getExpectedTimeOfTaskInSeconds | ( | ) |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 142 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
| ilCopyWorkspaceFilesToTempDirectoryJob::getInputTypes | ( | ) |
Implements ILIAS\BackgroundTasks\Task.
Definition at line 43 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
| ilCopyWorkspaceFilesToTempDirectoryJob::getOutputType | ( | ) |
Implements ILIAS\BackgroundTasks\Task.
Definition at line 51 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
| ilCopyWorkspaceFilesToTempDirectoryJob::isStateless | ( | ) |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 56 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
| ilCopyWorkspaceFilesToTempDirectoryJob::run | ( | array | $input, |
| Observer | $observer | ||
| ) |
| \ILIAS\BackgroundTasks\Value[] | $input | This will be a list of Values hinted by getInputTypes. |
| Observer | $observer | Notify the bucket about your progress! |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 61 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.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 35 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
|
protected |
Definition at line 36 of file class.ilCopyWorkspaceFilesToTempDirectoryJob.php.
Referenced by createTargetDirectory().