ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ 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
}
$id
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition:
plugin.php:23
ILIAS\LegalDocuments\Provide\ProvidePublicPage
Definition:
ProvidePublicPage.php:27
ILIAS\LegalDocuments\Provide\ProvidePublicPage\url
url()
Definition:
ProvidePublicPage.php:34
ILIAS\LegalDocuments\Provide\ProvidePublicPage\__construct
__construct(private readonly string $id, private readonly ilCtrlInterface $ctrl)
Definition:
ProvidePublicPage.php:28
ilStartUpGUI
@ilCtrl_Calls ilStartUpGUI: ilAccountRegistrationGUI, ilPasswordAssistanceGUI, ilLoginPageGUI,...
Definition:
class.ilStartUpGUI.php:38
ilCtrlInterface
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
interface.ilCtrlInterface.php:27
ILIAS\LegalDocuments\Provide
Definition:
ProvideDocument.php:21
ILIAS\Repository\ctrl
ctrl()
Definition:
trait.GlobalDICGUIServices.php:63
$url
$url
Definition:
shib_logout.php:68
components
ILIAS
LegalDocuments
classes
Provide
ProvidePublicPage.php
Generated on Sat Oct 18 2025 23:03:20 for ILIAS by
1.9.4 (using
Doxyfile
)