ILIAS  trunk Revision v11.0_alpha-2645-g16283d3b3f8
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 ()
 

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.

References ILIAS\Repository\ctrl().

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  }
+ Here is the call graph for this function:

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