ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Covers the persistence of settings belonging to a study programme (SP). More...
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... | |
Covers the persistence of settings belonging to a study programme (SP).
Definition at line 8 of file interface.ilStudyProgrammeProgressRepository.php.
ilStudyProgrammeProgressRepository::createFor | ( | ilStudyProgrammeSettings | $prg, |
ilStudyProgrammeAssignment | $ass | ||
) |
Create a record corresponding to a progress and return corresponding object.
Will throw if a record allready exists.
ilStudyProgrammeProgressRepository::delete | ( | ilStudyProgrammeProgress | $progress | ) |
Delete record corresponding to progress.
Will throw if the record does not exist yet.
Implemented in ilStudyProgrammeProgressDBRepository.
ilStudyProgrammeProgressRepository::get | ( | int | $id | ) |
Load progress belonging to a id.
Will throw if the record does not exist yet.
Implemented in ilStudyProgrammeProgressDBRepository.
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.
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.
ilStudyProgrammeProgressRepository::getByPrgId | ( | int | $prg_id | ) |
Load progress objects belonging to a prg id.
Implemented in ilStudyProgrammeProgressDBRepository.
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.
ilStudyProgrammeProgressRepository::getByPrgIdAndUserId | ( | int | $prg_id, |
int | $usr_id | ||
) |
Load progress objects belonging to a prg id and a user id.
Implemented in ilStudyProgrammeProgressDBRepository.
ilStudyProgrammeProgressRepository::getExpiredSuccessfull | ( | ) |
Load all progress objects which are successfull and whose validity is expired.
Implemented in ilStudyProgrammeProgressDBRepository.
ilStudyProgrammeProgressRepository::getFirstByPrgId | ( | int | $prg_id | ) |
Load the first progress objects belonging to a prg id.
Implemented in ilStudyProgrammeProgressDBRepository.
ilStudyProgrammeProgressRepository::getPassedDeadline | ( | ) |
Implemented in ilStudyProgrammeProgressDBRepository.
ilStudyProgrammeProgressRepository::getRiskyToFailInstances | ( | ) |
Implemented in ilStudyProgrammeProgressDBRepository.
ilStudyProgrammeProgressRepository::update | ( | ilStudyProgrammeProgress | $progress | ) |
Update record corresponding to progress.
Will throw if the record does not exist yet.
Implemented in ilStudyProgrammeProgressDBRepository.