24 $this->logger =
$GLOBALS[
'DIC']->logger()->cal();
64 $this->logger->debug(
'Start zipping input dir!');
65 $this->logger->dump(
$input);
66 $tmpdir =
$input[0]->getValue();
67 $this->logger->debug(
'Zipping directory:' . $tmpdir);
75 $zip_file_name->setValue($tmpdir .
'.zip');
77 return $zip_file_name;
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
An exception for terminatinating execution or to throw for unit testing.
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
Description of class class.
getOutputType()
@inheritDoc
run(array $input, \ILIAS\BackgroundTasks\Observer $observer)
@inheritDoc
getInputTypes()
@inheritDoc
getExpectedTimeOfTaskInSeconds()
int the amount of seconds this task usually taskes. If your task-duration scales with the the amount ...
Class ChatMainBarProvider \MainMenu\Provider.