ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
UseSlot.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\LegalDocuments;
22 
30 use ilObjUser;
34 
35 interface UseSlot
36 {
40  public function afterLogin(callable $after_login): self;
41 
45  public function showInFooter(callable $show): self;
46 
50  public function showOnLoginPage(callable $show): self;
51 
55  public function hasOnlineStatusFilter(callable $only_visible_users): self;
56 
61  public function hasDocuments(array $content_as_component = [], ?SelectionMap $available_conditions = null): self;
62 
66  public function hasUserManagementFields(callable $fields): self;
67  public function canWithdraw(WithdrawProcess $withdraw_process): self;
68 
72  public function hasPublicPage(callable $public_page, ?string $goto_name = null): self;
73  public function hasAgreement(Agreement $on_login, ?string $goto_name = null): self;
74  public function hasHistory(): self;
75  public function onSelfRegistration(SelfRegistration $self_registration): self;
76  public function canReadInternalMails(Constraint $constraint): self;
77  public function canUseSoapApi(Constraint $constraint): self;
78  public function hasPublicApi(PublicApi $api): self;
79 }
hasPublicApi(PublicApi $api)
A constraint encodes some resrtictions on values.
Definition: Constraint.php:31
canReadInternalMails(Constraint $constraint)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
hasUserManagementFields(callable $fields)
canUseSoapApi(Constraint $constraint)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
canWithdraw(WithdrawProcess $withdraw_process)
hasAgreement(Agreement $on_login, ?string $goto_name=null)
hasOnlineStatusFilter(callable $only_visible_users)
showInFooter(callable $show)
showOnLoginPage(callable $show)
hasPublicPage(callable $public_page, ?string $goto_name=null)
afterLogin(callable $after_login)
onSelfRegistration(SelfRegistration $self_registration)
hasDocuments(array $content_as_component=[], ?SelectionMap $available_conditions=null)