ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Exercise\InternalRepoService Class Reference
+ Collaboration diagram for ILIAS\Exercise\InternalRepoService:

Public Member Functions

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

Static Protected Attributes

static array $instance = []
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

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

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

41  {
42  }

Member Function Documentation

◆ assignment()

ILIAS\Exercise\InternalRepoService::assignment ( )

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

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

52  : Assignment\RepoService
53  {
54  return self::$instance["assignment"] ??= new Assignment\RepoService(
55  $this->data,
56  $this->db
57  );
58  }
+ Here is the caller graph for this function:

◆ instructionFiles()

ILIAS\Exercise\InternalRepoService::instructionFiles ( )

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

79  : InstructionFileRepository
80  {
81  return self::$instance["instruction"] ??= new InstructionFileRepository(
82  $this->irss(),
83  $this->db
84  );
85  }

◆ peerReview()

ILIAS\Exercise\InternalRepoService::peerReview ( )

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

Referenced by ILIAS\Exercise\PeerReview\Criteria\CriteriaFileManager\__construct().

60  : PeerReview\RepoService
61  {
62  return self::$instance["peer_review"] ??= new PeerReview\RepoService(
63  $this->irss(),
64  $this->data,
65  $this->db
66  );
67  }
+ Here is the caller graph for this function:

◆ sampleSolution()

ILIAS\Exercise\InternalRepoService::sampleSolution ( )

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

87  : SampleSolutionRepository
88  {
89  return self::$instance["sample_sol"] ??= new SampleSolutionRepository(
90  $this->irss(),
91  $this->db
92  );
93  }

◆ settings()

ILIAS\Exercise\InternalRepoService::settings ( )

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

44  : SettingsDBRepository
45  {
46  return self::$instance["settings"] ??= new SettingsDBRepository(
47  $this->db,
48  $this->data
49  );
50  }

◆ submission()

ILIAS\Exercise\InternalRepoService::submission ( )

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

Referenced by ILIAS\Exercise\Submission\SubmissionManager\__construct().

70  : Submission\SubmissionRepositoryInterface
71  {
72  return self::$instance["submission"] ??= new Submission\SubmissionRepository(
73  $this->irss(),
74  $this->data,
75  $this->db
76  );
77  }
+ Here is the caller graph for this function:

◆ team()

ILIAS\Exercise\InternalRepoService::team ( )

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

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

119  : TeamDBRepository
120  {
121  return self::$instance["team"] ??= new TeamDBRepository(
122  $this->db,
123  $this->data
124  );
125  }
+ Here is the caller graph for this function:

◆ tutorFeedbackFile()

ILIAS\Exercise\InternalRepoService::tutorFeedbackFile ( )

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

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

95  : TutorFeedbackFileRepository
96  {
97  return self::$instance["tutor_feedback"] ??= new TutorFeedbackFileRepository(
98  $this->irss(),
99  $this->db
100  );
101  }
+ Here is the caller graph for this function:

◆ tutorFeedbackFileTeam()

ILIAS\Exercise\InternalRepoService::tutorFeedbackFileTeam ( )

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

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

103  : TutorFeedbackFileTeamRepository
104  {
105  return self::$instance["tutor_feedback_team"] ??= new TutorFeedbackFileTeamRepository(
106  $this->irss(),
107  $this->db
108  );
109  }
+ Here is the caller graph for this function:

◆ tutorFeedbackZip()

ILIAS\Exercise\InternalRepoService::tutorFeedbackZip ( )

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

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

111  : TutorFeedbackZipRepository
112  {
113  return self::$instance["tutor_feedback_zip"] ??= new TutorFeedbackZipRepository(
114  $this->irss(),
115  $this->db
116  );
117  }
+ Here is the caller graph for this function:

Field Documentation

◆ $instance

array ILIAS\Exercise\InternalRepoService::$instance = []
staticprotected

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


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