ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
UseSlot.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\LegalDocuments;
22
24use ILIAS\LegalDocuments\ConsumerSlots\CriterionToCondition;
30use ilObjUser;
34
35interface 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}
This class represents a non editable value in a property form.
User class.
hasOnlineStatusFilter(callable $only_visible_users)
hasUserManagementFields(callable $fields)
showInFooter(callable $show)
hasPublicPage(callable $public_page, ?string $goto_name=null)
canReadInternalMails(Constraint $constraint)
hasDocuments(array $content_as_component=[], ?SelectionMap $available_conditions=null)
canWithdraw(WithdrawProcess $withdraw_process)
hasPublicApi(PublicApi $api)
hasAgreement(Agreement $on_login, ?string $goto_name=null)
afterLogin(callable $after_login)
onSelfRegistration(SelfRegistration $self_registration)
showOnLoginPage(callable $show)
canUseSoapApi(Constraint $constraint)
A constraint encodes some resrtictions on values.
Definition: Constraint.php:32
A component is the most general form of an entity in the UI.
Definition: Component.php:28