ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
ILIAS\Exercise\InternalDomainService Class Reference
+ Collaboration diagram for ILIAS\Exercise\InternalDomainService:

Public Member Functions

 __construct (Container $dic, InternalDataService $data, InternalRepoService $repo)
 
 log ()
 
 object (int $ref_id)
 
 assignment ()
 
 submission (int $ass_id)
 
 peerReview ()
 
 notification (int $ref_id)
 
 team ()
 
 individualDeadline ()
 
 exercise (int $obj_id)
 
 exerciseSettings ()
 
 userEvent ()
 

Protected Attributes

InternalDataService $data
 
InternalRepoService $repo
 
array $instance = []
 
Assignment DomainService $assignment_service
 

Detailed Description

Definition at line 34 of file class.InternalDomainService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Exercise\InternalDomainService::__construct ( Container  $dic,
InternalDataService  $data,
InternalRepoService  $repo 
)

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

References ILIAS\Exercise\InternalDomainService\$data, ILIAS\Exercise\InternalDomainService\$repo, and ILIAS\Repository\initDomainServices().

47  {
48  $this->data = $data;
49  $this->repo = $repo;
50  $this->initDomainServices($dic);
51  $this->assignment_service = new Assignment\DomainService(
52  $this,
53  $repo
54  );
55  }
initDomainServices(\ILIAS\DI\Container $DIC)
$dic
Definition: result.php:31
+ Here is the call graph for this function:

Member Function Documentation

◆ assignment()

ILIAS\Exercise\InternalDomainService::assignment ( )

Definition at line 67 of file class.InternalDomainService.php.

References ILIAS\Exercise\InternalDomainService\$assignment_service.

Referenced by ILIAS\Exercise\Submission\SubmissionManager\__construct(), and ilAssignmentPresentationGUI\__construct().

67  : Assignment\DomainService
68  {
70  }
+ Here is the caller graph for this function:

◆ exercise()

ILIAS\Exercise\InternalDomainService::exercise ( int  $obj_id)

Definition at line 112 of file class.InternalDomainService.php.

114  : ExerciseManager {
115  return $this->instance["exercise"][$obj_id] ??= new ExerciseManager(
116  $this->repo,
117  $this,
118  $obj_id
119  );
120  }

◆ exerciseSettings()

ILIAS\Exercise\InternalDomainService::exerciseSettings ( )

Definition at line 122 of file class.InternalDomainService.php.

123  : SettingsManager {
124  return $this->instance["settings"] ??= new SettingsManager(
125  $this->data,
126  $this->repo,
127  $this
128  );
129  }

◆ individualDeadline()

ILIAS\Exercise\InternalDomainService::individualDeadline ( )

Definition at line 107 of file class.InternalDomainService.php.

107  : IndividualDeadlineManager
108  {
109  return $this->instance["idl"] ??= new IndividualDeadlineManager();
110  }

◆ log()

ILIAS\Exercise\InternalDomainService::log ( )

Definition at line 57 of file class.InternalDomainService.php.

References ILIAS\Repository\logger().

57  : \ilLogger
58  {
59  return $this->logger()->exc();
60  }
Component logger with individual log levels by component id.
+ Here is the call graph for this function:

◆ notification()

ILIAS\Exercise\InternalDomainService::notification ( int  $ref_id)

Definition at line 90 of file class.InternalDomainService.php.

References $ref_id.

90  : NotificationManager
91  {
92  return $this->instance["notification"][$ref_id] ??= new NotificationManager(
93  $this,
94  $ref_id
95  );
96  }
$ref_id
Definition: ltiauth.php:65

◆ object()

ILIAS\Exercise\InternalDomainService::object ( int  $ref_id)

Definition at line 62 of file class.InternalDomainService.php.

62  : ObjectManager
63  {
64  return new ObjectManager($ref_id);
65  }
$ref_id
Definition: ltiauth.php:65

◆ peerReview()

ILIAS\Exercise\InternalDomainService::peerReview ( )

Definition at line 82 of file class.InternalDomainService.php.

82  : DomainService
83  {
84  return $this->instance["peer_review"] ??= new DomainService(
85  $this->repo,
86  $this
87  );
88  }

◆ submission()

ILIAS\Exercise\InternalDomainService::submission ( int  $ass_id)

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

References $ass_id.

72  : SubmissionManager
73  {
74  return $this->instance["subm"][$ass_id] ??= new SubmissionManager(
75  $this->repo,
76  $this,
78  $ass_id
79  );
80  }

◆ team()

ILIAS\Exercise\InternalDomainService::team ( )

Definition at line 98 of file class.InternalDomainService.php.

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

98  : TeamManager
99  {
100  return $this->instance["team"] ??= new TeamManager(
101  $this->repo,
102  $this,
104  );
105  }
+ Here is the caller graph for this function:

◆ userEvent()

ILIAS\Exercise\InternalDomainService::userEvent ( )

Definition at line 131 of file class.InternalDomainService.php.

131  : UserEvent
132  {
133  return new UserEvent(
134  $this->repo,
135  $this
136  );
137  }

Field Documentation

◆ $assignment_service

Assignment DomainService ILIAS\Exercise\InternalDomainService::$assignment_service
protected

◆ $data

InternalDataService ILIAS\Exercise\InternalDomainService::$data
protected

◆ $instance

array ILIAS\Exercise\InternalDomainService::$instance = []
protected

Definition at line 40 of file class.InternalDomainService.php.

◆ $repo

InternalRepoService ILIAS\Exercise\InternalDomainService::$repo
protected

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