30 $this->logger =
$GLOBALS[
'DIC']->logger()->cal();
82 $download_name =
$input[0];
84 $this->logger->debug(
'User interaction download zip ' .
$input[0]->getValue() .
' as '
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());
94 }
catch (InvalidArgumentException $e) {
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(),
An exception for terminatinating execution or to throw for unit testing.
Description of class class.
getInputTypes()
Type[] A list of types that are taken as input.
getOutputType()
@inheritDoc
getRemoveOption()
@inheritDoc
interaction(array $input, Option $user_selected_option, Bucket $bucket)
@inheritDoc
getOptions(array $input)
@inheritDoc
static deliverFileAttached($path_to_file, $download_file_name='', $mime_type='', $delete_file=false)
void
$GLOBALS['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.