3declare(strict_types=1);
An exception for terminatinating execution or to throw for unit testing.
Class ilStudyProgrammeAssignment.
Class ilStudyProgrammeProgress.
Covers the persistence of settings belonging to a study programme (SP).
createFor(ilStudyProgrammeSettings $prg, ilStudyProgrammeAssignment $ass)
Create a record corresponding to a progress and return corresponding object.
readByPrgIdAndAssignmentId(int $prg_id, int $assignment_id)
Load progress belonging to a prg id and assignment.
readByIds(int $prg_id, int $assignment_id, int $usr_id)
Load progress belonging to a prg id and assignment.
readByPrgIdAndUserId(int $prg_id, int $usr_id)
Load progress objects belonging to a prg id and a user id.
readExpiredSuccessfull()
Load all progress objects which are successfull and whose validity is expired.
readByAssignmentId(int $assignment_id)
Load progress objects belonging to an assignment id.
update(ilStudyProgrammeProgress $progress)
Update record corresponding to progress.
read(int $id)
Load progress belonging to a id.
readByPrgId(int $prg_id)
Load progress objects belonging to a prg id.
readRiskyToFailInstances()
readFirstByPrgId(int $prg_id)
Load the first progress objects belonging to a prg id.