19 declare(strict_types=1);
48 $this->ui_factory = $DIC->ui()->factory();
50 $this->
ctrl = $DIC->ctrl();
56 $this->add_directory_modal = $this->ui_factory->modal()->roundtrip(
57 $this->
language->txt(
'create_directory'),
60 $this->ui_factory->input()->field()->text(
61 $this->
language->txt(
'directory_name'),
62 $this->
language->txt(
'directory_name_info'),
80 if ($this->show_paths) {
81 $components[] = $this->ui_factory->messageBox()->info(
82 implode(
'<br>', array_keys($this->request->getWrapper()->getData()))
93 $this->
language->txt(
'create_directory'),
94 $this->add_directory_modal->getShowSignal()
97 $this->
language->txt(
'download_zip'),
107 $this->
language->txt(self::ACTION_DOWNLOAD),
115 $single_actions[self::ACTION_REMOVE] =
new SingleAction(
116 $this->
language->txt(self::ACTION_REMOVE),
124 $this->
language->txt(self::ACTION_UNZIP),
129 [
'application/zip',
'application/x-zip-compressed']
133 return $single_actions;
140 \ilContainerResourceGUI::class,
150 ILIAS_HTTP_PATH .
'/' . $this->
ctrl->getLinkTargetByClass(
This describes commonalities between the different modals.
Interface Observer Contains several chained tasks and infos about them.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
const CMD_RENDER_CONFIRM_REMOVE
The scope of this class is split ilias-conform URI's into components.
ILIAS UI Factory $ui_factory
buildURI(string $command)
getSingleActions(Request $view_request)
language()
description: > Example for rendring a language glyph.
ILIAS UI Component Modal RoundTrip $add_directory_modal
__construct(private Request $request)
retrieveURI(string $class, string $command)