ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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 read(int $id);
18
22 public function readByUsrId(int $usr_id) : array;
23
27 public function readByPrgId(int $prg_id) : array;
28
32 public function readDueToRestart() : array;
33
37 public function readDueToManuelRestart(int $days_before_end) : array;
38
43 public function update(ilStudyProgrammeAssignment $assignment);
44
49 public function delete(ilStudyProgrammeAssignment $assignment);
50}
An exception for terminatinating execution or to throw for unit testing.
Class ilStudyProgrammeAssignment.
readDueToManuelRestart(int $days_before_end)
Get all assignments due to restart and not restrted yet.
read(int $id)
Load settings belonging to a SP-Object.
readDueToRestart()
Get all assignments due to restart and not restrted yet.
createFor(int $prg_id, int $usr_id, int $assigning_usr_id)
Create a record corresponding to a SP-Object and return represending settings.
readByPrgId(int $prg_id)
Get all assignments to a prg.
update(ilStudyProgrammeAssignment $assignment)
Update settings belonging to a SP-Object.
readByUsrId(int $usr_id)
Get all assignments of a user.