ILIAS  trunk Revision v11.0_alpha-1838-g59fc79e306b
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ActionRepository.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
27 {
28  public function hasEditActionForSuffix(
29  string $suffix
30  ): bool;
31 
32  public function hasViewActionForSuffix(
33  string $suffix
34  ): bool;
35 
36  public function hasActionForSuffix(
37  string $suffix,
38  ActionTarget ...$action_target
39  ): bool;
40 
41  public function getActionForSuffix(
42  string $suffix,
43  ActionTarget $action_target
44  ): ?Action;
45 
46  public function getEditActionForSuffix(
47  string $suffix
48  ): ?Action;
49 
50  public function getViewActionForSuffix(
51  string $suffix
52  ): ?Action;
53 
57  public function getActions(): array;
58 
62  public function getActionsForTarget(ActionTarget $action_target): array;
63  public function getActionsForTargets(ActionTarget ...$action_target): array;
64 
65  public function getSupportedSuffixes(ActionTarget ...$action_target): array;
66 
67  public function clearSuperfluous(Action ...$actions): void;
68 
69  public function store(Action $action, App $for_app): void;
70 
71  public function clear(): void;
72 }
hasActionForSuffix(string $suffix, ActionTarget ... $action_target)
getSupportedSuffixes(ActionTarget ... $action_target)
ActionTarget
Officialy supported action targets, see https://learn.microsoft.com/en-us/openspecs/office_protocols/...
getActionForSuffix(string $suffix, ActionTarget $action_target)
getActionsForTargets(ActionTarget ... $action_target)
getActionsForTarget(ActionTarget $action_target)