ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\LegalDocuments\WithdrawalAcknowledgementLogoutTarget Class Reference
+ Inheritance diagram for ILIAS\LegalDocuments\WithdrawalAcknowledgementLogoutTarget:
+ Collaboration diagram for ILIAS\LegalDocuments\WithdrawalAcknowledgementLogoutTarget:

Public Member Functions

 __construct (private LogoutTarget $origin, private bool $user_withdrew_legal_docs, private ilCtrlInterface $ctrl, private string $http_path=ILIAS_HTTP_PATH)
 
 asURI ()
 
 asURI ()
 

Detailed Description

Definition at line 28 of file WithdrawalAcknowledgementLogoutTarget.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\LegalDocuments\WithdrawalAcknowledgementLogoutTarget::__construct ( private LogoutTarget  $origin,
private bool  $user_withdrew_legal_docs,
private ilCtrlInterface  $ctrl,
private string  $http_path = ILIAS_HTTP_PATH 
)

Definition at line 30 of file WithdrawalAcknowledgementLogoutTarget.php.

35 {
36 }

Member Function Documentation

◆ asURI()

ILIAS\LegalDocuments\WithdrawalAcknowledgementLogoutTarget::asURI ( )

Implements ILIAS\components\Authentication\Logout\LogoutTarget.

Definition at line 38 of file WithdrawalAcknowledgementLogoutTarget.php.

38 : URI
39 {
40 if ($this->user_withdrew_legal_docs) {
41 return LogoutDestinations::LOGIN_SCREEN->asURI($this->ctrl, $this->http_path);
42 }
43
44 return $this->origin->asURI();
45 }

References ILIAS\Repository\ctrl().

+ Here is the call graph for this function:

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