ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
ILIAS\LegalDocuments\Provide\ProvidePublicPage Class Reference
+ Collaboration diagram for ILIAS\LegalDocuments\Provide\ProvidePublicPage:

Public Member Functions

 __construct (private readonly string $id, private readonly ilCtrlInterface $ctrl)
 
 url ()
 

Detailed Description

Definition at line 26 of file ProvidePublicPage.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\LegalDocuments\Provide\ProvidePublicPage::__construct ( private readonly string  $id,
private readonly ilCtrlInterface  $ctrl 
)

Definition at line 28 of file ProvidePublicPage.php.

31  {
32  }

Member Function Documentation

◆ url()

ILIAS\LegalDocuments\Provide\ProvidePublicPage::url ( )

Definition at line 34 of file ProvidePublicPage.php.

References $url, and ILIAS\Repository\ctrl().

34  : 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  }
$url
Definition: shib_logout.php:68
+ Here is the call graph for this function:

The documentation for this class was generated from the following file: