ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
interface.ilStudyProgrammeProgressRepository.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
9{
14 public function createFor(
18
23 public function read(int $id) : ilStudyProgrammeProgress;
24
29 public function readByIds(
30 int $prg_id,
31 int $assignment_id,
32 int $usr_id
34
40 int $prg_id,
41 int $assignment_id
42 );
43
47 public function readByPrgIdAndUserId(int $prg_id, int $usr_id) : array;
48
52 public function readByPrgId(int $prg_id) : array;
53
57 public function readFirstByPrgId(int $prg_id);
58
63 public function readByAssignmentId(int $assignment_id) : array;
64
69 public function readExpiredSuccessfull() : array;
70
71 public function readRiskyToFailInstances() : array;
72
73 public function readPassedDeadline() : array;
74
79 public function update(ilStudyProgrammeProgress $progress);
80
85 public function delete(ilStudyProgrammeProgress $progress);
86}
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.
readFirstByPrgId(int $prg_id)
Load the first progress objects belonging to a prg id.