35 $this->tutor_repo = $tutor_repo;
46 $user_exc_ids = $this->exc_mem_repo->getExerciseIdsOfUser($user_id);
48 foreach ($this->state_repo->getSubmitableAssignmentIdsOfUser($user_exc_ids, $user_id) as $ass_id) {
63 $user_exc_ids = $this->exc_mem_repo->getExerciseIdsOfUser($user_id);
65 foreach ($this->state_repo->getAssignmentIdsWithPeerFeedbackNeeded($user_exc_ids, $user_id) as $ass_id) {
80 $user_exc_ids = $this->tutor_repo->getExerciseIdsBeingTutor($user_id);
82 foreach ($this->state_repo->getAssignmentIdsWithGradingNeeded($user_exc_ids) as $ass_id => $open) {
__construct(ilExcMemberRepository $exc_mem_repo, ilExcAssMemberStateRepository $state_repo, ilExcTutorRepository $tutor_repo)
Constructor.
getOpenPeerReviewsOfUser(int $user_id)
Get all open peer reviews of a user.
getOpenGradingsOfUser(int $user_id)
Get all open gradings of a user.
Action class for derived tasks, mostly getting user reponsibilities by respecting permissions as well...
getOpenAssignmentsOfUser(int $user_id)
Get all open assignments of a user.
This class determines assignment member state information directly on the persistence layer...
This should hold all accesses to exc_members table in the future.