ILIAS  trunk Revision v11.0_alpha-1702-gfd3ecb7f852
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
OrgUnitOperationRepository.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 {
31  public function get(string $operation_string, string $description, array $contexts, int $list_order): array;
32 
36  public function store(ilOrgUnitOperation $operation): ilOrgUnitOperation;
37 
42  public function delete(ilOrgUnitOperation $operation): bool;
43 
48  public function find(string $operation_string, string $context): ?ilOrgUnitOperation;
49 
57  public function getById(int $operation_id): ?ilOrgUnitOperation;
58 
64  public function getByName(string $operation_string): array;
65 
73  public function getOperationsByContextId(int $context_id): array;
74 
80  public function getOperationsByContextName(string $context): array;
81 }
find(string $operation_string, string $context)
Find an existing operation for a specified context Returns null if no operation is found...
$context
Definition: webdav.php:31
store(ilOrgUnitOperation $operation)
Store operation to db.
getOperationsByContextId(int $context_id)
Get operations by context id.
getByName(string $operation_string)
Get operation(s) by name.
getOperationsByContextName(string $context)
Get operations by context name.
getById(int $operation_id)
Get operation by id Returns null if no operation is found.