19 declare(strict_types=1);
39 $this->repo = $repo->
team();
48 $id = $this->repo->create();
49 $this->repo->addUser(
$id, $ass_id, $first_user);
50 $this->domain->assignment()->tutorFeedbackFile($ass_id)->createCollection($first_user);
56 return $this->repo->getTeamForMember($ass_id, $user_id);
61 $members = iterator_to_array($this->repo->getMembers($team_id));
63 $mem_status = new \ilExAssignmentMemberStatus(
65 current($members)->getUserId()
67 return $mem_status->getStatus();
72 return $this->repo->getAssignmentForTeam($team_id);
77 foreach ($this->repo->getTeamIdsOfAssignment($ass_id) as $team_id) {
78 $this->repo->deleteTeamLog($team_id);
79 $this->feedback_repo->deleteTeamCollection(
81 $this->feedback_stakeholder
83 $this->repo->deleteTeam($team_id);
getStatusForTeam(int $team_id)
deleteTeamsOfAssignment(int $ass_id)
getTeamForMember(int $ass_id, int $user_id)
getAssignmentForTeam(int $team_id)
create(int $ass_id, int $first_user)
InternalDomainService $domain
__construct(InternalRepoService $repo, InternalDomainService $domain, protected \ilExcTutorTeamFeedbackFileStakeholder $feedback_stakeholder)
Table exc_team_data: Team Table il_exc_team: Team participants (holds the sequence due to historic re...
TutorFeedbackFileTeamRepository $feedback_repo
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins