ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 ()
 

Protected Attributes

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

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

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

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

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

46  {
47  $this->data = $data;
48  $this->repo = $repo;
49  $this->initDomainServices($dic);
50  $this->assignment_service = new Assignment\DomainService(
51  $this,
52  $repo
53  );
54  }
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 66 of file class.InternalDomainService.php.

References ILIAS\Exercise\InternalDomainService\$assignment_service.

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

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

◆ exercise()

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

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

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

◆ exerciseSettings()

ILIAS\Exercise\InternalDomainService::exerciseSettings ( )

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

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

◆ individualDeadline()

ILIAS\Exercise\InternalDomainService::individualDeadline ( )

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

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

◆ log()

ILIAS\Exercise\InternalDomainService::log ( )

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

References ILIAS\Repository\logger().

56  : \ilLogger
57  {
58  return $this->logger()->exc();
59  }
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 89 of file class.InternalDomainService.php.

References $ref_id.

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

◆ object()

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

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

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

◆ peerReview()

ILIAS\Exercise\InternalDomainService::peerReview ( )

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

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

◆ submission()

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

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

References $ass_id.

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

◆ team()

ILIAS\Exercise\InternalDomainService::team ( )

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

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

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

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 39 of file class.InternalDomainService.php.

◆ $repo

InternalRepoService ILIAS\Exercise\InternalDomainService::$repo
protected

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