ILIAS  release_7 Revision v7.30-3-g800a261c036
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 get(int $id) : ilStudyProgrammeProgress;
24
29 public function getByIds(
30 int $prg_id,
31 int $assignment_id
33
39 int $prg_id,
40 int $assignment_id
41 );
42
46 public function getByPrgIdAndUserId(int $prg_id, int $usr_id) : array;
47
51 public function getByPrgId(int $prg_id) : array;
52
56 public function getFirstByPrgId(int $prg_id);
57
62 public function getByAssignmentId(int $assignment_id) : array;
63
68 public function getExpiredSuccessfull() : array;
69
70 public function getRiskyToFailInstances() : array;
71
72 public function getPassedDeadline() : array;
73
78 public function update(ilStudyProgrammeProgress $progress);
79
84 public function delete(ilStudyProgrammeProgress $progress);
85}
An exception for terminatinating execution or to throw for unit testing.
Represents one assignment of the user to a program tree.
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.
getByIds(int $prg_id, int $assignment_id)
Load progress belonging to a prg id and assignment.
getByPrgIdAndUserId(int $prg_id, int $usr_id)
Load progress objects belonging to a prg id and a user id.
getFirstByPrgId(int $prg_id)
Load the first progress objects belonging to a prg id.
update(ilStudyProgrammeProgress $progress)
Update record corresponding to progress.
getByPrgIdAndAssignmentId(int $prg_id, int $assignment_id)
Load progress belonging to a prg id and assignment.
getExpiredSuccessfull()
Load all progress objects which are successfull and whose validity is expired.
getByAssignmentId(int $assignment_id)
Load progress objects belonging to an assignment id.
getByPrgId(int $prg_id)
Load progress objects belonging to a prg id.