19 declare(strict_types=1);
43 if ($this->request->canUserUplaod()) {
44 yield $this->ui_factory->dropzone()->file()->standard(
45 $this->
language->txt(
'upload_modal_title'),
47 $this->
ctrl->getLinkTargetByClass(
48 \ilResourceCollectionGUI::class,
51 $this->ui_factory->input()->field()->file(
52 $this->upload_handler,
53 $this->
language->txt(
'upload_field_title')
56 $this->ui_factory->button()->shy(
57 $this->
language->txt(
'select_files_from_computer'),
__construct(private Request $request, private \ilCtrlInterface $ctrl, private Factory $ui_factory, private \ilLanguage $language, private UploadHandler $upload_handler)
language()
description: > Example for rendring a language glyph.