ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
ImportModal.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Style\Content\Style
;
22
23
use
ILIAS\Style\Content\GUIService
;
24
use
ILIAS\Style\Content\InternalGUIService
;
25
use
ILIAS\Style\Content\InternalDomainService
;
26
27
class
ImportModal
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
}
ILIAS\Style\Content\InternalGUIService
Content style internal ui factory.
Definition:
class.InternalGUIService.php:31
ILIAS\Style\Content\Style\ImportModal
Definition:
ImportModal.php:27
InternalDomainService
ILIAS\Style\Content\Style\ImportModal\__construct
__construct(protected InternalDomainService $domain, protected InternalGUIService $gui)
Definition:
ImportModal.php:29
ILIAS\Repository\ctrl
ctrl()
Definition:
trait.GlobalDICGUIServices.php:63
ILIAS\Repository\lng
lng()
Definition:
trait.GlobalDICDomainServices.php:61
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
ILIAS\Style\Content\Style
Definition:
class.GUIService.php:21
$lng
global $lng
Definition:
privfeed.php:31
ILIAS\Style\Content\Style\ImportModal\getImportModal
getImportModal()
Definition:
ImportModal.php:35
GUIService
ILIAS\Style\Content\InternalDomainService
Definition:
class.InternalDomainService.php:35
InternalGUIService
components
ILIAS
Style
Content
Style
ImportModal.php
Generated on Sun Aug 31 2025 23:03:51 for ILIAS by
1.8.13 (using
Doxyfile
)