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;
getExpectedTimeOfTaskInSeconds()
int the amount of seconds this task usually taskes. If your task-duration scales with the the amount ...
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
Description of class class.
static zip($a_dir, $a_file, $compress_content=false)
zips given directory/file into given zip.file
Create styles array
The data for the language used.
run(array $input, \ILIAS\BackgroundTasks\Observer $observer)
static delDir($a_dir, $a_clean_only=false)
removes a dir and all its content (subdirs and files) recursively