ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ResourceStakeholder.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
30 {
36  public function __construct();
37 
41  public function getId(): string;
42 
43  public function getConsumerNameForPresentation(): string;
44 
48  public function getFullyQualifiedClassName(): string;
49 
50  public function canBeAccessedByCurrentUser(ResourceIdentification $identification): bool;
51 
52  public function isResourceInUse(ResourceIdentification $identification): bool;
53 
58  public function resourceHasBeenDeleted(ResourceIdentification $identification): bool;
59 
60  public function getOwnerOfResource(ResourceIdentification $identification): int;
61 
62  public function getOwnerOfNewResources(): int;
63 
64  public function getLocationURIForResourceUsage(ResourceIdentification $identification): ?string;
65 }
canBeAccessedByCurrentUser(ResourceIdentification $identification)
getOwnerOfResource(ResourceIdentification $identification)
isResourceInUse(ResourceIdentification $identification)
__construct()
Constructor must not have any parameters.
getLocationURIForResourceUsage(ResourceIdentification $identification)
resourceHasBeenDeleted(ResourceIdentification $identification)