ILIAS  trunk Revision v11.0_alpha-1753-gb21ca8c4367
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ImportModal.php
Go to the documentation of this file.
1 <?php
2 
19 declare(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 }
Content style internal ui factory.
__construct(protected InternalDomainService $domain, protected InternalGUIService $gui)
Definition: ImportModal.php:29
global $lng
Definition: privfeed.php:31