ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ILIAS\Exercise\InternalRepoService Class Reference

Internal repo factory. More...

+ Collaboration diagram for ILIAS\Exercise\InternalRepoService:

Public Member Functions

 __construct (InternalDataService $data, \ilDBInterface $db)
 
 assignment ()
 
 submission ()
 
 instructionFiles ()
 
 sampleSolution ()
 
 tutorFeedbackFile ()
 
 tutorFeedbackFileTeam ()
 
 tutorFeedbackZip ()
 
 team ()
 

Protected Attributes

CollectionWrapper $collection_wrapper
 
InternalDataService $data
 
ilDBInterface $db
 
Submission SubmissionDBRepository $submission_repo
 

Detailed Description

Internal repo factory.

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 36 of file class.InternalRepoService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Exercise\InternalRepoService::__construct ( InternalDataService  $data,
\ilDBInterface  $db 
)

Definition at line 43 of file class.InternalRepoService.php.

References ILIAS\Exercise\InternalRepoService\$data, and ILIAS\Exercise\InternalRepoService\$db.

44  {
45  $this->data = $data;
46  $this->db = $db;
47  $this->submission_repo = new Submission\SubmissionDBRepository($db);
48  $this->collection_wrapper = new CollectionWrapper($data);
49  }

Member Function Documentation

◆ assignment()

ILIAS\Exercise\InternalRepoService::assignment ( )

Definition at line 51 of file class.InternalRepoService.php.

Referenced by ILIAS\Exercise\Assignment\AssignmentManager\__construct().

51  : Assignment\RepoService
52  {
53  return new Assignment\RepoService(
54  $this->data,
55  $this->db
56  );
57  }
+ Here is the caller graph for this function:

◆ instructionFiles()

ILIAS\Exercise\InternalRepoService::instructionFiles ( )

Definition at line 64 of file class.InternalRepoService.php.

64  : InstructionFileRepository
65  {
66  return new InstructionFileRepository(
67  $this->collection_wrapper,
68  $this->db
69  );
70  }

◆ sampleSolution()

ILIAS\Exercise\InternalRepoService::sampleSolution ( )

Definition at line 72 of file class.InternalRepoService.php.

72  : SampleSolutionRepository
73  {
74  return new SampleSolutionRepository(
75  $this->collection_wrapper,
76  $this->db
77  );
78  }

◆ submission()

ILIAS\Exercise\InternalRepoService::submission ( )

Definition at line 59 of file class.InternalRepoService.php.

References ILIAS\Exercise\InternalRepoService\$submission_repo.

59  : Submission\SubmissionRepositoryInterface
60  {
62  }
Submission SubmissionDBRepository $submission_repo

◆ team()

ILIAS\Exercise\InternalRepoService::team ( )

Definition at line 104 of file class.InternalRepoService.php.

Referenced by ILIAS\Exercise\Team\TeamManager\__construct().

104  : TeamDBRepository
105  {
106  return new TeamDBRepository(
107  $this->db,
108  $this->data
109  );
110  }
+ Here is the caller graph for this function:

◆ tutorFeedbackFile()

ILIAS\Exercise\InternalRepoService::tutorFeedbackFile ( )

Definition at line 80 of file class.InternalRepoService.php.

Referenced by ILIAS\Exercise\TutorFeedbackFile\TutorFeedbackZipManager\__construct(), and ILIAS\Exercise\TutorFeedbackFile\TutorFeedbackFileManager\__construct().

80  : TutorFeedbackFileRepository
81  {
82  return new TutorFeedbackFileRepository(
83  $this->collection_wrapper,
84  $this->db
85  );
86  }
+ Here is the caller graph for this function:

◆ tutorFeedbackFileTeam()

ILIAS\Exercise\InternalRepoService::tutorFeedbackFileTeam ( )

Definition at line 88 of file class.InternalRepoService.php.

Referenced by ILIAS\Exercise\Team\TeamManager\__construct(), and ILIAS\Exercise\TutorFeedbackFile\TutorFeedbackFileManager\__construct().

88  : TutorFeedbackFileTeamRepository
89  {
90  return new TutorFeedbackFileTeamRepository(
91  $this->collection_wrapper,
92  $this->db
93  );
94  }
+ Here is the caller graph for this function:

◆ tutorFeedbackZip()

ILIAS\Exercise\InternalRepoService::tutorFeedbackZip ( )

Definition at line 96 of file class.InternalRepoService.php.

Referenced by ILIAS\Exercise\TutorFeedbackFile\TutorFeedbackZipManager\__construct().

96  : TutorFeedbackZipRepository
97  {
98  return new TutorFeedbackZipRepository(
99  $this->collection_wrapper,
100  $this->db
101  );
102  }
+ Here is the caller graph for this function:

Field Documentation

◆ $collection_wrapper

CollectionWrapper ILIAS\Exercise\InternalRepoService::$collection_wrapper
protected

Definition at line 38 of file class.InternalRepoService.php.

◆ $data

InternalDataService ILIAS\Exercise\InternalRepoService::$data
protected

◆ $db

ilDBInterface ILIAS\Exercise\InternalRepoService::$db
protected

◆ $submission_repo

Submission SubmissionDBRepository ILIAS\Exercise\InternalRepoService::$submission_repo
protected

The documentation for this class was generated from the following file: