ILIAS
trunk Revision v11.0_alpha-1831-g8615d53dadb
|
Public Member Functions | |
__construct (private readonly ilObjUser $user, private readonly Settings $settings, private readonly UserSettings $user_settings, private readonly Provide $legal_documents, private readonly Clock $clock) | |
isLoggedIn () | |
cannotAgree () | |
neverAgreed () | |
withdrawalRequested () | |
agreeDate () | |
didNotAcceptCurrentVersion () | |
needsToAcceptNewDocument () | |
doesntMatch (Document $document) | |
matchingDocument () | |
acceptedVersion () | |
acceptMatchingDocument () | |
acceptAnyDocument () | |
isLDAPUser () | |
isExternalAccount () | |
format (string $format_string) | |
raw () | |
Private Member Functions | |
authMode () | |
didNotAccept (Document $document) | |
lazy (callable $create_value) | |
A More... | |
Private Attributes | |
readonly Closure | $matching_document |
ILIAS\LegalDocuments\ConsumerToolbox\User::__construct | ( | private readonly ilObjUser | $user, |
private readonly Settings | $settings, | ||
private readonly UserSettings | $user_settings, | ||
private readonly Provide | $legal_documents, | ||
private readonly Clock | $clock | ||
) |
Definition at line 40 of file User.php.
References ILIAS\LegalDocuments\ConsumerToolbox\User\lazy(), and ILIAS\Repository\user().
ILIAS\LegalDocuments\ConsumerToolbox\User::acceptAnyDocument | ( | ) |
Definition at line 126 of file User.php.
References ILIAS\Repository\user().
ILIAS\LegalDocuments\ConsumerToolbox\User::acceptedVersion | ( | ) |
Definition at line 110 of file User.php.
References ILIAS\LegalDocuments\ConsumerToolbox\User\cannotAgree(), ILIAS\LegalDocuments\ConsumerToolbox\User\neverAgreed(), and ILIAS\Repository\user().
ILIAS\LegalDocuments\ConsumerToolbox\User::acceptMatchingDocument | ( | ) |
Definition at line 117 of file User.php.
References ILIAS\LegalDocuments\ConsumerToolbox\User\agreeDate(), ILIAS\LegalDocuments\ConsumerToolbox\User\matchingDocument(), and ILIAS\Repository\user().
ILIAS\LegalDocuments\ConsumerToolbox\User::agreeDate | ( | ) |
Definition at line 76 of file User.php.
Referenced by ILIAS\LegalDocuments\ConsumerToolbox\User\acceptMatchingDocument(), and ILIAS\LegalDocuments\ConsumerToolbox\User\neverAgreed().
|
private |
Definition at line 159 of file User.php.
References ILIAS\Repository\settings(), and ILIAS\Repository\user().
Referenced by ILIAS\LegalDocuments\ConsumerToolbox\User\isExternalAccount(), and ILIAS\LegalDocuments\ConsumerToolbox\User\isLDAPUser().
ILIAS\LegalDocuments\ConsumerToolbox\User::cannotAgree | ( | ) |
Definition at line 55 of file User.php.
References ANONYMOUS_USER_ID, SYSTEM_USER_ID, and ILIAS\Repository\user().
Referenced by ILIAS\LegalDocuments\ConsumerToolbox\User\acceptedVersion(), and ILIAS\DataProtection\Consumer\showMatchingDocument().
|
private |
Definition at line 167 of file User.php.
References ILIAS\Repository\user().
Referenced by ILIAS\LegalDocuments\ConsumerToolbox\User\didNotAcceptCurrentVersion().
ILIAS\LegalDocuments\ConsumerToolbox\User::didNotAcceptCurrentVersion | ( | ) |
Definition at line 81 of file User.php.
References ILIAS\LegalDocuments\ConsumerToolbox\User\didNotAccept(), ILIAS\LegalDocuments\ConsumerToolbox\User\matchingDocument(), and ILIAS\Repository\settings().
ILIAS\LegalDocuments\ConsumerToolbox\User::doesntMatch | ( | Document | $document | ) |
Definition at line 100 of file User.php.
References ILIAS\Repository\user().
Referenced by ILIAS\LegalDocuments\ConsumerToolbox\User\needsToAcceptNewDocument().
ILIAS\LegalDocuments\ConsumerToolbox\User::format | ( | string | $format_string | ) |
Definition at line 144 of file User.php.
References ILIAS\Repository\user().
ILIAS\LegalDocuments\ConsumerToolbox\User::isExternalAccount | ( | ) |
Definition at line 139 of file User.php.
References ilAuthUtils\AUTH_ECS, ilAuthUtils\AUTH_PROVIDER_LTI, and ILIAS\LegalDocuments\ConsumerToolbox\User\authMode().
ILIAS\LegalDocuments\ConsumerToolbox\User::isLDAPUser | ( | ) |
Definition at line 134 of file User.php.
References ilAuthUtils\AUTH_LDAP, and ILIAS\LegalDocuments\ConsumerToolbox\User\authMode().
ILIAS\LegalDocuments\ConsumerToolbox\User::isLoggedIn | ( | ) |
Definition at line 50 of file User.php.
References ANONYMOUS_USER_ID, and ILIAS\Repository\user().
Referenced by ILIAS\DataProtection\Consumer\showMatchingDocument().
|
private |
A
callable() | A $create_value |
Definition at line 177 of file User.php.
Referenced by ILIAS\LegalDocuments\ConsumerToolbox\User\__construct().
ILIAS\LegalDocuments\ConsumerToolbox\User::matchingDocument | ( | ) |
Definition at line 105 of file User.php.
Referenced by ILIAS\LegalDocuments\ConsumerToolbox\User\acceptMatchingDocument(), ILIAS\LegalDocuments\ConsumerToolbox\User\didNotAcceptCurrentVersion(), and ILIAS\DataProtection\Consumer\showMatchingDocument().
ILIAS\LegalDocuments\ConsumerToolbox\User::needsToAcceptNewDocument | ( | ) |
Definition at line 87 of file User.php.
References ILIAS\$db, ILIAS\LegalDocuments\ConsumerToolbox\User\doesntMatch(), ILIAS\LegalDocuments\ConsumerToolbox\User\neverAgreed(), ILIAS\Repository\settings(), and ILIAS\Repository\user().
ILIAS\LegalDocuments\ConsumerToolbox\User::neverAgreed | ( | ) |
Definition at line 60 of file User.php.
References ILIAS\LegalDocuments\ConsumerToolbox\User\agreeDate(), and null.
Referenced by ILIAS\LegalDocuments\ConsumerToolbox\User\acceptedVersion(), and ILIAS\LegalDocuments\ConsumerToolbox\User\needsToAcceptNewDocument().
ILIAS\LegalDocuments\ConsumerToolbox\User::raw | ( | ) |
ILIAS\LegalDocuments\ConsumerToolbox\User::withdrawalRequested | ( | ) |
|
private |