19declare(strict_types=1);
42 if ($this->request->canUserUplaod()) {
43 yield $this->ui_factory->dropzone()->file()->standard(
44 $this->
language->txt(
'upload_modal_title'),
45 $this->language->txt(
'msg_upload'),
46 $this->ctrl->getLinkTargetByClass(
47 \ilContainerResourceGUI::class,
50 $this->ui_factory->input()->field()->file(
51 $this->upload_handler,
52 $this->language->txt(
'upload_field_title')
55 $this->ui_factory->button()->shy(
56 $this->language->txt(
'select_files_from_computer'),
Builds a Color from either hex- or rgb values.
__construct(private Request $request, private \ilCtrlInterface $ctrl, private Factory $ui_factory, private \ilLanguage $language, private UploadHandler $upload_handler)
This is how the factory for UI elements looks.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...