ILIAS  release_7 Revision v7.30-3-g800a261c036
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...
 
 get (int $id)
 Load progress belonging to a id. More...
 
 getByIds (int $prg_id, int $assignment_id)
 Load progress belonging to a prg id and assignment. More...
 
 getByPrgIdAndAssignmentId (int $prg_id, int $assignment_id)
 Load progress belonging to a prg id and assignment. More...
 
 getByPrgIdAndUserId (int $prg_id, int $usr_id)
 Load progress objects belonging to a prg id and a user id. More...
 
 getByPrgId (int $prg_id)
 Load progress objects belonging to a prg id. More...
 
 getFirstByPrgId (int $prg_id)
 Load the first progress objects belonging to a prg id. More...
 
 getByAssignmentId (int $assignment_id)
 Load progress objects belonging to an assignment id. More...
 
 getExpiredSuccessfull ()
 Load all progress objects which are successfull and whose validity is expired. More...
 
 getRiskyToFailInstances ()
 
 getPassedDeadline ()
 
 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.

◆ delete()

ilStudyProgrammeProgressRepository::delete ( ilStudyProgrammeProgress  $progress)

Delete record corresponding to progress.

Will throw if the record does not exist yet.

Implemented in ilStudyProgrammeProgressDBRepository.

◆ get()

ilStudyProgrammeProgressRepository::get ( int  $id)

Load progress belonging to a id.

Will throw if the record does not exist yet.

Implemented in ilStudyProgrammeProgressDBRepository.

◆ getByAssignmentId()

ilStudyProgrammeProgressRepository::getByAssignmentId ( int  $assignment_id)

Load progress objects belonging to an assignment id.

Will throw if the record does not exist yet.

Implemented in ilStudyProgrammeProgressDBRepository.

◆ getByIds()

ilStudyProgrammeProgressRepository::getByIds ( 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.

◆ getByPrgId()

ilStudyProgrammeProgressRepository::getByPrgId ( int  $prg_id)

Load progress objects belonging to a prg id.

Implemented in ilStudyProgrammeProgressDBRepository.

◆ getByPrgIdAndAssignmentId()

ilStudyProgrammeProgressRepository::getByPrgIdAndAssignmentId ( 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.

◆ getByPrgIdAndUserId()

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

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

Implemented in ilStudyProgrammeProgressDBRepository.

◆ getExpiredSuccessfull()

ilStudyProgrammeProgressRepository::getExpiredSuccessfull ( )

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

Implemented in ilStudyProgrammeProgressDBRepository.

◆ getFirstByPrgId()

ilStudyProgrammeProgressRepository::getFirstByPrgId ( int  $prg_id)

Load the first progress objects belonging to a prg id.

Implemented in ilStudyProgrammeProgressDBRepository.

◆ getPassedDeadline()

ilStudyProgrammeProgressRepository::getPassedDeadline ( )

◆ getRiskyToFailInstances()

ilStudyProgrammeProgressRepository::getRiskyToFailInstances ( )

◆ 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: