|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Stores info about random assignments for users in exercises. More...
Collaboration diagram for ilExcRandomAssignmentDBRepository:Public Member Functions | |
| __construct (ilDBInterface $db=null) | |
| Constructor. More... | |
| getAssignmentsOfUser (int $user_id, int $exc_id) | |
| Get mandatory assignments of user. More... | |
| saveAssignmentsOfUser (int $user_id, int $exc_id, array $ass_ids) | |
| Save assignments of user. More... | |
Protected Attributes | |
| $db | |
Stores info about random assignments for users in exercises.
(repository)
Definition at line 12 of file class.ilExcRandomAssignmentDBRepository.php.
| ilExcRandomAssignmentDBRepository::__construct | ( | ilDBInterface | $db = null | ) |
| ilExcRandomAssignmentDBRepository::getAssignmentsOfUser | ( | int | $user_id, |
| int | $exc_id | ||
| ) |
Get mandatory assignments of user.
| int | $user_id | |
| int | $exc_id |
Definition at line 39 of file class.ilExcRandomAssignmentDBRepository.php.
References $db, and ilExAssignment\isInExercise().
Here is the call graph for this function:| ilExcRandomAssignmentDBRepository::saveAssignmentsOfUser | ( | int | $user_id, |
| int | $exc_id, | ||
| array | $ass_ids | ||
| ) |
Save assignments of user.
| int | $user_id | |
| int | $exc_id | |
| int[] | $ass_ids |
Definition at line 66 of file class.ilExcRandomAssignmentDBRepository.php.
References $db, and ilExAssignment\isInExercise().
Here is the call graph for this function:
|
protected |
Definition at line 18 of file class.ilExcRandomAssignmentDBRepository.php.
Referenced by __construct(), getAssignmentsOfUser(), and saveAssignmentsOfUser().