|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
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... | |
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.
Implemented in ilStudyProgrammeProgressDBRepository.
| ilStudyProgrammeProgressRepository::delete | ( | ilStudyProgrammeProgress | $progress | ) |
Delete record corresponding to progress.
Will throw if the record does not exist yet.
Implemented in ilStudyProgrammeProgressDBRepository.
| ilStudyProgrammeProgressRepository::read | ( | int | $id | ) |
Load progress belonging to a id.
Will throw if the record does not exist yet.
Implemented in ilStudyProgrammeProgressDBRepository.
| 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.
| 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.
| ilStudyProgrammeProgressRepository::readByPrgId | ( | int | $prg_id | ) |
Load progress objects belonging to a prg id.
Implemented in ilStudyProgrammeProgressDBRepository.
| 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.
| ilStudyProgrammeProgressRepository::readByPrgIdAndUserId | ( | int | $prg_id, |
| int | $usr_id | ||
| ) |
Load progress objects belonging to a prg id and a user id.
Implemented in ilStudyProgrammeProgressDBRepository.
| ilStudyProgrammeProgressRepository::readExpiredSuccessfull | ( | ) |
Load all progress objects which are successfull and whose validity is expired.
Implemented in ilStudyProgrammeProgressDBRepository.
| ilStudyProgrammeProgressRepository::readFirstByPrgId | ( | int | $prg_id | ) |
Load the first progress objects belonging to a prg id.
Implemented in ilStudyProgrammeProgressDBRepository.
| ilStudyProgrammeProgressRepository::readPassedDeadline | ( | ) |
Implemented in ilStudyProgrammeProgressDBRepository.
| ilStudyProgrammeProgressRepository::readRiskyToFailInstances | ( | ) |
Implemented in ilStudyProgrammeProgressDBRepository.
| ilStudyProgrammeProgressRepository::update | ( | ilStudyProgrammeProgress | $progress | ) |
Update record corresponding to progress.
Will throw if the record does not exist yet.
Implemented in ilStudyProgrammeProgressDBRepository.