ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ImportModal.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
26
28{
29 public function __construct(
30 protected InternalDomainService $domain,
31 protected InternalGUIService $gui
32 ) {
33 }
34
35 private function getImportModal(): RoundTrip
36 {
37 $f = $this->gui->ui()->factory();
38 $lng = $this->domain->lng();
39 return $f->modal()->roundtrip(
40 $lng->txt('import'),
41 [],
42 $this->buildImportFormInputs(),
43 $this->ctrl->getFormAction($this, 'routeImportCmd')
44 )->withSubmitLabel($this->lng->txt('import'));
45 }
46
47}
Facade for consumer gui interface.
Content style internal ui factory.
__construct(protected InternalDomainService $domain, protected InternalGUIService $gui)
Definition: ImportModal.php:29
global $lng
Definition: privfeed.php:31