ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
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;
32 
33 interface UseSlot
34 {
38  public function afterLogin(callable $after_login): self;
39 
43  public function showInFooter(callable $show): self;
44 
48  public function showOnLoginPage(callable $show): self;
49 
53  public function hasOnlineStatusFilter(callable $only_visible_users): self;
54 
59  public function hasDocuments(array $content_as_component = [], ?SelectionMap $available_conditions = null): self;
60 
64  public function hasUserManagementFields(callable $fields): self;
65  public function canWithdraw(WithdrawProcess $withdraw_process): self;
66 
70  public function hasPublicPage(callable $public_page, ?string $goto_name = null): self;
71  public function hasAgreement(Agreement $on_login, ?string $goto_name = null): self;
72  public function hasHistory(): self;
73  public function onSelfRegistration(SelfRegistration $self_registration): self;
74  public function canReadInternalMails(Constraint $constraint): self;
75  public function canUseSoapApi(Constraint $constraint): self;
76  public function hasPublicApi(PublicApi $api): self;
77 }
hasPublicApi(PublicApi $api)
A constraint encodes some resrtictions on values.
Definition: Constraint.php:31
canReadInternalMails(Constraint $constraint)
hasUserManagementFields(callable $fields)
canUseSoapApi(Constraint $constraint)
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)