24 $this->logger =
$GLOBALS[
'DIC']->logger()->cal();
60 $this->logger->debug(
'Start zipping input dir!');
61 $this->logger->dump(
$input);
62 $tmpdir =
$input[0]->getValue();
63 $this->logger->debug(
'Zipping directory:' . $tmpdir);
71 $zip_file_name->setValue($tmpdir .
'.zip');
72 return $zip_file_name;
An exception for terminatinating execution or to throw for unit testing.
Description of class class.
getOutputType()
@inheritDoc
getExpectedTimeOfTaskInSeconds()
int the amount of seconds this task usually taskes. If your task-duration scales with the the amount ...
run(array $input, \ILIAS\BackgroundTasks\Observer $observer)
@inheritDoc
getInputTypes()
@inheritDoc
static delDir($a_dir, $a_clean_only=false)
removes a dir and all its content (subdirs and files) recursively
static zip($a_dir, $a_file, $compress_content=false)
zips given directory/file into given zip.file
$GLOBALS['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.