41 $this->
logger = $DIC->logger()->cal();
81 $this->
logger->debug(
'Start zipping input dir!');
82 $this->
logger->dump($input);
83 $tmpdir = rtrim($input[0]->
getValue(),
"/");
84 $this->
logger->debug(
'Zipping directory:' . $tmpdir);
85 $zip_name = $tmpdir .
'.zip';
92 $zip_file_name->setValue($zip_name);
94 return $zip_file_name;
Class ChatMainBarProvider .
run(array $input, \ILIAS\BackgroundTasks\Observer $observer)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static delDir(string $a_dir, bool $a_clean_only=false)
removes a dir and all its content (subdirs and files) recursively
getExpectedTimeOfTaskInSeconds()
int the amount of seconds this task usually taskes. If your task-duration scales with the the amount ...
static zip(string $a_dir, string $a_file, bool $compress_content=false)
zips given directory/file into given zip.file
Description of class class.