ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
OrgUnitOperationContextRepository Interface Reference
+ 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...
 

Detailed Description

Definition at line 21 of file OrgUnitOperationContextRepository.php.

Member Function Documentation

◆ delete()

OrgUnitOperationContextRepository::delete ( string  $context)

Delete context by name Returns false, if no context is found.

Implemented in ilOrgUnitOperationContextDBRepository.

◆ find()

OrgUnitOperationContextRepository::find ( string  $context)

Find an existing context Returns null if no context is found.

Implemented in ilOrgUnitOperationContextDBRepository.

◆ get()

OrgUnitOperationContextRepository::get ( string  $context,
?string  $parent_context 
)

Get a context If the context does not exist, it is created.

Exceptions
ilException

Implemented in ilOrgUnitOperationContextDBRepository.

◆ getById()

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

Deprecated:
Please refer to contexts by context name

Implemented in ilOrgUnitOperationContextDBRepository.

◆ getByObjId()

OrgUnitOperationContextRepository::getByObjId ( int  $obj_id)

Get context by obj_id Returns null if no context is found.

Implemented in ilOrgUnitOperationContextDBRepository.

◆ getByRefId()

OrgUnitOperationContextRepository::getByRefId ( int  $ref_id)

Get context by ref_id Returns null if no context is found.

Implemented in ilOrgUnitOperationContextDBRepository.

◆ store()

OrgUnitOperationContextRepository::store ( ilOrgUnitOperationContext  $operation_context)

Store context to db.

Implemented in ilOrgUnitOperationContextDBRepository.


The documentation for this interface was generated from the following file: