ILIAS  trunk Revision v11.0_alpha-1689-g66c127b4ae8
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
OrgUnitOperationContextRepository.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 {
28  public function get(string $context, ?string $parent_context): ilOrgUnitOperationContext;
29 
33  public function store(ilOrgUnitOperationContext $operation_context): ilOrgUnitOperationContext;
34 
39  public function delete(string $context): bool;
40 
45  public function find(string $context): ?ilOrgUnitOperationContext;
46 
54  public function getById(int $id): ?ilOrgUnitOperationContext;
55 
60  public function getByRefId(int $ref_id): ?ilOrgUnitOperationContext;
61 
66  public function getByObjId(int $obj_id): ?ilOrgUnitOperationContext;
67 }
getById(int $id)
Get context by id Returns null if no context is found.
$context
Definition: webdav.php:31
getByRefId(int $ref_id)
Get context by ref_id Returns null if no context is found.
find(string $context)
Find an existing context Returns null if no context is found.
getByObjId(int $obj_id)
Get context by obj_id Returns null if no context is found.
store(ilOrgUnitOperationContext $operation_context)
Store context to db.
$ref_id
Definition: ltiauth.php:65
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23