ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ilStudyProgrammeAssignmentRepository Interface Reference
+ Inheritance diagram for ilStudyProgrammeAssignmentRepository:
+ Collaboration diagram for ilStudyProgrammeAssignmentRepository:

Public Member Functions

 createFor (int $prg_id, int $usr_id, int $assigning_usr_id)
 Create a record corresponding to a SP-Object and return represending settings. More...
 
 read (int $id)
 Load settings belonging to a SP-Object. More...
 
 readByUsrId (int $usr_id)
 Get all assignments of a user. More...
 
 readByPrgId (int $prg_id)
 Get all assignments to a prg. More...
 
 readDueToRestart ()
 Get all assignments due to restart and not restrted yet. More...
 
 readDueToManuelRestart (int $days_before_end)
 Get all assignments due to restart and not restrted yet. More...
 
 update (ilStudyProgrammeAssignment $assignment)
 Update settings belonging to a SP-Object. More...
 
 delete (ilStudyProgrammeAssignment $assignment)
 Delete record corresponding to settings. More...
 

Detailed Description

Member Function Documentation

◆ createFor()

ilStudyProgrammeAssignmentRepository::createFor ( int  $prg_id,
int  $usr_id,
int  $assigning_usr_id 
)

Create a record corresponding to a SP-Object and return represending settings.

Will throw if a record allready exists.

Implemented in ilStudyProgrammeAssignmentDBRepository.

◆ delete()

ilStudyProgrammeAssignmentRepository::delete ( ilStudyProgrammeAssignment  $assignment)

Delete record corresponding to settings.

Will throw if the record does not exist yet.

Implemented in ilStudyProgrammeAssignmentDBRepository.

◆ read()

ilStudyProgrammeAssignmentRepository::read ( int  $id)

Load settings belonging to a SP-Object.

Will throw if the record does not exist yet.

Returns
ilStudyProgrammeAssignment | null

Implemented in ilStudyProgrammeAssignmentDBRepository.

◆ readByPrgId()

ilStudyProgrammeAssignmentRepository::readByPrgId ( int  $prg_id)

Get all assignments to a prg.

Implemented in ilStudyProgrammeAssignmentDBRepository.

◆ readByUsrId()

ilStudyProgrammeAssignmentRepository::readByUsrId ( int  $usr_id)

Get all assignments of a user.

Implemented in ilStudyProgrammeAssignmentDBRepository.

◆ readDueToManuelRestart()

ilStudyProgrammeAssignmentRepository::readDueToManuelRestart ( int  $days_before_end)

Get all assignments due to restart and not restrted yet.

Implemented in ilStudyProgrammeAssignmentDBRepository.

◆ readDueToRestart()

ilStudyProgrammeAssignmentRepository::readDueToRestart ( )

Get all assignments due to restart and not restrted yet.

Implemented in ilStudyProgrammeAssignmentDBRepository.

◆ update()

ilStudyProgrammeAssignmentRepository::update ( ilStudyProgrammeAssignment  $assignment)

Update settings belonging to a SP-Object.

Will throw if the record does not exist yet.

Implemented in ilStudyProgrammeAssignmentDBRepository.


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