19declare(strict_types=1);
39 $this->repo =
$repo->team();
41 $this->feedback_repo =
$repo->tutorFeedbackFileTeam();
49 $this->repo->addUser(
$id,
$ass_id, $first_user);
50 $this->domain->assignment()->tutorFeedbackFile(
$ass_id)->createCollection($first_user);
64 return $this->repo->getMemberIds($team_id);
70 if (!is_null($team_id) && $team_id !== 0) {
71 return $this->getMemberIds(($team_id));
79 $members = iterator_to_array($this->repo->getMembers($team_id));
80 $ass_id = $this->getAssignmentForTeam($team_id);
81 $mem_status = new \ilExAssignmentMemberStatus(
83 current($members)->getUserId()
85 return $mem_status->getStatus();
90 return $this->repo->getAssignmentForTeam($team_id);
95 return new \ilExAssignmentTeam($team_id);
103 $team = $this->getTeam($team_id);
112 foreach ($this->repo->getTeamIdsOfAssignment(
$ass_id) as $team_id) {
113 $this->repo->deleteTeamLog($team_id);
114 $this->feedback_repo->deleteTeamCollection(
116 $this->feedback_stakeholder
118 $this->repo->deleteTeam($team_id);
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Internal factory for data objects.
Table exc_team_data: Team Table il_exc_team: Team participants (holds the sequence due to historic re...
getMemberIds(int $team_id)
getStatusForTeam(int $team_id)
getTeamForMember(int $ass_id, int $user_id)
__construct(InternalRepoService $repo, InternalDomainService $domain, protected \ilExcTutorTeamFeedbackFileStakeholder $feedback_stakeholder)
writeLog(int $team_id, int $action, string $content)
create(int $ass_id, int $first_user)
deleteTeamsOfAssignment(int $ass_id)
InternalDomainService $domain
getTeamMemberIdsOrUserId(int $ass_id, int $user_id)
getAssignmentForTeam(int $team_id)
TutorFeedbackFileTeamRepository $feedback_repo
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...