ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
Public Member Functions | |
get (string $operation_string, string $description, array $contexts, int $list_order) | |
Get an operation for each of the specified contexts If the operation does not exist for one or more contexts, it is created If any contexts do not exist yet, they are created as well. More... | |
store (ilOrgUnitOperation $operation) | |
Store operation to db. More... | |
delete (ilOrgUnitOperation $operation) | |
Delete an operation Returns false if the operation was not found. More... | |
find (string $operation_string, string $context) | |
Find an existing operation for a specified context Returns null if no operation is found. More... | |
getById (int $operation_id) | |
Get operation by id Returns null if no operation is found. More... | |
getByName (string $operation_string) | |
Get operation(s) by name. More... | |
getOperationsByContextId (int $context_id) | |
Get operations by context id. More... | |
getOperationsByContextName (string $context) | |
Get operations by context name. More... | |
Definition at line 21 of file OrgUnitOperationRepository.php.
OrgUnitOperationRepository::delete | ( | ilOrgUnitOperation | $operation | ) |
Delete an operation Returns false if the operation was not found.
Implemented in ilOrgUnitOperationDBRepository.
OrgUnitOperationRepository::find | ( | string | $operation_string, |
string | $context | ||
) |
Find an existing operation for a specified context Returns null if no operation is found.
Implemented in ilOrgUnitOperationDBRepository.
OrgUnitOperationRepository::get | ( | string | $operation_string, |
string | $description, | ||
array | $contexts, | ||
int | $list_order | ||
) |
Get an operation for each of the specified contexts If the operation does not exist for one or more contexts, it is created If any contexts do not exist yet, they are created as well.
array | $contexts | string[] |
Implemented in ilOrgUnitOperationDBRepository.
OrgUnitOperationRepository::getById | ( | int | $operation_id | ) |
Get operation by id Returns null if no operation is found.
This is only kept for backwards compatibility, but might be removed at a later date
Implemented in ilOrgUnitOperationDBRepository.
OrgUnitOperationRepository::getByName | ( | string | $operation_string | ) |
Get operation(s) by name.
Implemented in ilOrgUnitOperationDBRepository.
OrgUnitOperationRepository::getOperationsByContextId | ( | int | $context_id | ) |
Get operations by context id.
This is only kept for backwards compatibility, but might be removed at a later date
Implemented in ilOrgUnitOperationDBRepository.
OrgUnitOperationRepository::getOperationsByContextName | ( | string | $context | ) |
Get operations by context name.
Implemented in ilOrgUnitOperationDBRepository.
OrgUnitOperationRepository::store | ( | ilOrgUnitOperation | $operation | ) |
Store operation to db.
Implemented in ilOrgUnitOperationDBRepository.