ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
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 29 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 31 of file WithdrawalAcknowledgementLogoutTarget.php.

36  {
37  }

Member Function Documentation

◆ asURI()

ILIAS\LegalDocuments\WithdrawalAcknowledgementLogoutTarget::asURI ( )

Implements ILIAS\components\Authentication\Logout\LogoutTarget.

Definition at line 39 of file WithdrawalAcknowledgementLogoutTarget.php.

References ILIAS\Repository\ctrl().

39  : URI
40  {
41  if ($this->user_withdrew_legal_docs) {
42  return LogoutDestinations::LOGIN_SCREEN->asURI($this->ctrl, $this->http_path);
43  }
44 
45  return $this->origin->asURI();
46  }
+ Here is the call graph for this function:

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