ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Description of class class. More...
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 () | |
| |
Protected Member Functions | |
createUniqueTempDirectory () | |
createTargetDirectory ($a_tmpdir) | |
copyFiles ($tmpdir, ilCalendarCopyDefinition $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.ilCalendarCopyFilesToTempDirectoryJob.php.
ilCalendarCopyFilesToTempDirectoryJob::__construct | ( | ) |
Constructor.
Definition at line 34 of file class.ilCalendarCopyFilesToTempDirectoryJob.php.
References $GLOBALS.
|
protected |
Copy files.
string | $tmpdir | |
ilCalendarCopyDefinition | $definition |
Definition at line 126 of file class.ilCalendarCopyFilesToTempDirectoryJob.php.
References ilCalendarCopyDefinition\COPY_SOURCE_DIR, ilCalendarCopyDefinition\COPY_TARGET_DIR, ilCalendarCopyDefinition\getCopyDefinitions(), and ilUtil\makeDirParents().
Referenced by run().
|
protected |
Definition at line 113 of file class.ilCalendarCopyFilesToTempDirectoryJob.php.
References $target_directory, and ilUtil\makeDirParents().
Referenced by run().
|
protected |
Definition at line 105 of file class.ilCalendarCopyFilesToTempDirectoryJob.php.
References ilUtil\ilTempnam(), and ilUtil\makeDirParents().
Referenced by run().
ilCalendarCopyFilesToTempDirectoryJob::getExpectedTimeOfTaskInSeconds | ( | ) |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 157 of file class.ilCalendarCopyFilesToTempDirectoryJob.php.
ilCalendarCopyFilesToTempDirectoryJob::getInputTypes | ( | ) |
Implements ILIAS\BackgroundTasks\Task.
Definition at line 41 of file class.ilCalendarCopyFilesToTempDirectoryJob.php.
ilCalendarCopyFilesToTempDirectoryJob::getOutputType | ( | ) |
Implements ILIAS\BackgroundTasks\Task.
Definition at line 53 of file class.ilCalendarCopyFilesToTempDirectoryJob.php.
ilCalendarCopyFilesToTempDirectoryJob::isStateless | ( | ) |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 58 of file class.ilCalendarCopyFilesToTempDirectoryJob.php.
run the job
array | $input | |
Observer | $observer |
Implements ILIAS\BackgroundTasks\Task\Job.
Definition at line 73 of file class.ilCalendarCopyFilesToTempDirectoryJob.php.
References $out, copyFiles(), createTargetDirectory(), and createUniqueTempDirectory().
|
private |
Definition at line 24 of file class.ilCalendarCopyFilesToTempDirectoryJob.php.
|
protected |
Definition at line 29 of file class.ilCalendarCopyFilesToTempDirectoryJob.php.
Referenced by createTargetDirectory().