ILIAS  release_7 Revision v7.30-3-g800a261c036
interface.ilStudyProgrammeAssignmentRepository.php
Go to the documentation of this file.
1<?php declare(strict_types = 1);
2
4{
9 public function createFor(int $prg_id, int $usr_id, int $assigning_usr_id) : ilStudyProgrammeAssignment;
10
17 public function get(int $id);
18
22 public function getByUsrId(int $usr_id) : array;
23
27 public function getByPrgId(int $prg_id) : array;
28
34 public function getDueToRestart() : array;
35
39 public function getDueToManuelRestart(int $days_before_end) : array;
40
45 public function update(ilStudyProgrammeAssignment $assignment);
46
51 public function delete(ilStudyProgrammeAssignment $assignment);
52}
An exception for terminatinating execution or to throw for unit testing.
Represents one assignment of the user to a program tree.
getDueToManuelRestart(int $days_before_end)
Get all assignments due to restart and not restrted yet.
getDueToRestart()
Get all assignments due to restart and not restrted yet.
getByPrgId(int $prg_id)
Get all assignments to a prg.
createFor(int $prg_id, int $usr_id, int $assigning_usr_id)
Create a record corresponding to a SP-Object and return represending settings.
update(ilStudyProgrammeAssignment $assignment)
Update settings belonging to a SP-Object.
getByUsrId(int $usr_id)
Get all assignments of a user.