ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ProvidePublicPage.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24use ilStartUpGUI;
25
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
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
__construct(private readonly string $id, private readonly ilCtrlInterface $ctrl)
@ilCtrl_Calls ilStartUpGUI: ilAccountRegistrationGUI, ilPasswordAssistanceGUI, ilLoginPageGUI,...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$url
Definition: shib_logout.php:68