30 $this->logger =
$GLOBALS[
'DIC']->logger()->cal();
81 $zip_name = $input[1];
82 $download_name = $input[0];
84 $this->logger->debug(
'User interaction download zip ' . $input[0]->getValue() .
' as ' 85 . $input[1]->getValue());
87 if ($user_selected_option->
getValue() != self::OPTION_DOWNLOAD) {
88 $this->logger->info(
'Download canceled');
90 $filesystem = $DIC->filesystem()->temp();
93 $path = LegacyPathHelper::createRelativePath($zip_name->getValue());
97 if (!is_null(
$path) && $filesystem->has(
$path)) {
98 $filesystem->deleteDir(dirname(
$path));
104 $this->logger->info(
"Delivering File.");
107 $download_name->getValue(),
108 $zip_name->getValue(),
interaction(array $input, Option $user_selected_option, Bucket $bucket)
getInputTypes()
Type[] A list of types that are taken as input.
static deliverFileAttached($path_to_file, $download_file_name='', $mime_type='', $delete_file=false)
void
Description of class class.
$GLOBALS['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.