ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
ProvidePublicPage.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\LegalDocuments\Provide
;
22
23
use
ilCtrlInterface
;
24
use
ilStartUpGUI
;
25
26
class
ProvidePublicPage
27
{
28
public
function
__construct
(
29
private
readonly
string
$id
,
30
private
readonly
ilCtrlInterface
$ctrl
31
) {
32
}
33
34
public
function
url
(): string
35
{
36
$this->
ctrl
->setParameterByClass(ilStartUpGUI::class,
'id'
, $this->
id
);
37
$url
= $this->
ctrl
->getLinkTargetByClass(ilStartUpGUI::class,
'showLegalDocuments'
);
38
$this->
ctrl
->setParameterByClass(ilStartUpGUI::class,
'id'
,
''
);
39
40
return
$url
;
41
}
42
}
$url
$url
Definition:
shib_logout.php:68
ILIAS\LegalDocuments\Provide\ProvidePublicPage\__construct
__construct(private readonly string $id, private readonly ilCtrlInterface $ctrl)
Definition:
ProvidePublicPage.php:28
ilStartUpGUI
ILIAS\LegalDocuments\Provide
Definition:
ProvideDocument.php:21
ILIAS\Repository\ctrl
ctrl()
Definition:
trait.GlobalDICGUIServices.php:63
ILIAS\LegalDocuments\Provide\ProvidePublicPage
Definition:
ProvidePublicPage.php:26
$id
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition:
plugin.php:23
ILIAS\LegalDocuments\Provide\ProvidePublicPage\url
url()
Definition:
ProvidePublicPage.php:34
ilCtrlInterface
components
ILIAS
LegalDocuments
classes
Provide
ProvidePublicPage.php
Generated on Sun Aug 31 2025 23:03:14 for ILIAS by
1.8.13 (using
Doxyfile
)