ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ilStudyProgrammeProgressRepository Interface Reference

Covers the persistence of settings belonging to a study programme (SP). More...

+ Inheritance diagram for ilStudyProgrammeProgressRepository:
+ Collaboration diagram for ilStudyProgrammeProgressRepository:

Public Member Functions

 createFor (ilStudyProgrammeSettings $prg, ilStudyProgrammeAssignment $ass)
 Create a record corresponding to a progress and return corresponding object. More...
 
 read (int $id)
 Load progress belonging to a id. More...
 
 readByIds (int $prg_id, int $assignment_id, int $usr_id)
 Load progress belonging to a prg id and assignment. More...
 
 readByPrgIdAndAssignmentId (int $prg_id, int $assignment_id)
 Load progress belonging to a prg id and assignment. More...
 
 readByPrgIdAndUserId (int $prg_id, int $usr_id)
 Load progress objects belonging to a prg id and a user id. More...
 
 readByPrgId (int $prg_id)
 Load progress objects belonging to a prg id. More...
 
 readFirstByPrgId (int $prg_id)
 Load the first progress objects belonging to a prg id. More...
 
 readByAssignmentId (int $assignment_id)
 Load progress objects belonging to an assignment id. More...
 
 readExpiredSuccessfull ()
 Load all progress objects which are successfull and whose validity is expired. More...
 
 readRiskyToFailInstances ()
 
 readPassedDeadline ()
 
 update (ilStudyProgrammeProgress $progress)
 Update record corresponding to progress. More...
 
 delete (ilStudyProgrammeProgress $progress)
 Delete record corresponding to progress. More...
 

Detailed Description

Covers the persistence of settings belonging to a study programme (SP).

Definition at line 8 of file interface.ilStudyProgrammeProgressRepository.php.

Member Function Documentation

◆ createFor()

ilStudyProgrammeProgressRepository::createFor ( ilStudyProgrammeSettings  $prg,
ilStudyProgrammeAssignment  $ass 
)

Create a record corresponding to a progress and return corresponding object.

Will throw if a record allready exists.

Implemented in ilStudyProgrammeProgressDBRepository.

◆ delete()

ilStudyProgrammeProgressRepository::delete ( ilStudyProgrammeProgress  $progress)

Delete record corresponding to progress.

Will throw if the record does not exist yet.

Implemented in ilStudyProgrammeProgressDBRepository.

◆ read()

ilStudyProgrammeProgressRepository::read ( int  $id)

Load progress belonging to a id.

Will throw if the record does not exist yet.

Implemented in ilStudyProgrammeProgressDBRepository.

◆ readByAssignmentId()

ilStudyProgrammeProgressRepository::readByAssignmentId ( int  $assignment_id)

Load progress objects belonging to an assignment id.

Will throw if the record does not exist yet.

Implemented in ilStudyProgrammeProgressDBRepository.

◆ readByIds()

ilStudyProgrammeProgressRepository::readByIds ( int  $prg_id,
int  $assignment_id,
int  $usr_id 
)

Load progress belonging to a prg id and assignment.

Will throw if the record does not exist yet.

Implemented in ilStudyProgrammeProgressDBRepository.

◆ readByPrgId()

ilStudyProgrammeProgressRepository::readByPrgId ( int  $prg_id)

Load progress objects belonging to a prg id.

Implemented in ilStudyProgrammeProgressDBRepository.

◆ readByPrgIdAndAssignmentId()

ilStudyProgrammeProgressRepository::readByPrgIdAndAssignmentId ( int  $prg_id,
int  $assignment_id 
)

Load progress belonging to a prg id and assignment.

Will throw if the record does not exist yet.

Implemented in ilStudyProgrammeProgressDBRepository.

◆ readByPrgIdAndUserId()

ilStudyProgrammeProgressRepository::readByPrgIdAndUserId ( int  $prg_id,
int  $usr_id 
)

Load progress objects belonging to a prg id and a user id.

Implemented in ilStudyProgrammeProgressDBRepository.

◆ readExpiredSuccessfull()

ilStudyProgrammeProgressRepository::readExpiredSuccessfull ( )

Load all progress objects which are successfull and whose validity is expired.

Implemented in ilStudyProgrammeProgressDBRepository.

◆ readFirstByPrgId()

ilStudyProgrammeProgressRepository::readFirstByPrgId ( int  $prg_id)

Load the first progress objects belonging to a prg id.

Implemented in ilStudyProgrammeProgressDBRepository.

◆ readPassedDeadline()

ilStudyProgrammeProgressRepository::readPassedDeadline ( )

◆ readRiskyToFailInstances()

ilStudyProgrammeProgressRepository::readRiskyToFailInstances ( )

◆ update()

ilStudyProgrammeProgressRepository::update ( ilStudyProgrammeProgress  $progress)

Update record corresponding to progress.

Will throw if the record does not exist yet.

Implemented in ilStudyProgrammeProgressDBRepository.


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