|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for OrgUnitOperationContextRepository:
Collaboration diagram for OrgUnitOperationContextRepository:Public Member Functions | |
| get (string $context, ?string $parent_context) | |
| Get a context If the context does not exist, it is created. More... | |
| store (ilOrgUnitOperationContext $operation_context) | |
| Store context to db. More... | |
| delete (string $context) | |
| Delete context by name Returns false, if no context is found. More... | |
| find (string $context) | |
| Find an existing context Returns null if no context is found. More... | |
| getById (int $id) | |
| Get context by id Returns null if no context is found. More... | |
| getByRefId (int $ref_id) | |
| Get context by ref_id Returns null if no context is found. More... | |
| getByObjId (int $obj_id) | |
| Get context by obj_id Returns null if no context is found. More... | |
Definition at line 20 of file OrgUnitOperationContextRepository.php.
| OrgUnitOperationContextRepository::delete | ( | string | $context | ) |
Delete context by name Returns false, if no context is found.
Implemented in ilOrgUnitOperationContextDBRepository.
| OrgUnitOperationContextRepository::find | ( | string | $context | ) |
Find an existing context Returns null if no context is found.
Implemented in ilOrgUnitOperationContextDBRepository.
| OrgUnitOperationContextRepository::get | ( | string | $context, |
| ?string | $parent_context | ||
| ) |
Get a context If the context does not exist, it is created.
| ilException |
Implemented in ilOrgUnitOperationContextDBRepository.
| OrgUnitOperationContextRepository::getById | ( | int | $id | ) |
Get context by id Returns null if no context is found.
This is kept for backwards compatibility, but might be removed at a later date
Implemented in ilOrgUnitOperationContextDBRepository.
| OrgUnitOperationContextRepository::getByObjId | ( | int | $obj_id | ) |
Get context by obj_id Returns null if no context is found.
Implemented in ilOrgUnitOperationContextDBRepository.
| OrgUnitOperationContextRepository::getByRefId | ( | int | $ref_id | ) |
Get context by ref_id Returns null if no context is found.
Implemented in ilOrgUnitOperationContextDBRepository.
| OrgUnitOperationContextRepository::store | ( | ilOrgUnitOperationContext | $operation_context | ) |
Store context to db.
Implemented in ilOrgUnitOperationContextDBRepository.