ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
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 ()
 
 peerReview (\ilExAssignment $ass)
 
 notification (int $ref_id)
 
 team ()
 
 individualDeadline ()
 
 exercise (int $obj_id)
 
 userEvent ()
 

Protected Attributes

InternalDataService $data
 
InternalRepoService $repo
 
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 41 of file class.InternalDomainService.php.

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

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

Member Function Documentation

◆ assignment()

ILIAS\Exercise\InternalDomainService::assignment ( )

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

References ILIAS\Exercise\InternalDomainService\$assignment_service.

Referenced by ilAssignmentPresentationGUI\__construct().

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

◆ exercise()

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

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

102  : ExerciseManager {
103  return new ExerciseManager(
104  $this->repo,
105  $this,
106  $obj_id
107  );
108  }

◆ individualDeadline()

ILIAS\Exercise\InternalDomainService::individualDeadline ( )

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

95  : IndividualDeadlineManager
96  {
97  return new IndividualDeadlineManager();
98  }

◆ log()

ILIAS\Exercise\InternalDomainService::log ( )

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

References ILIAS\Repository\logger().

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

78  : NotificationManager
79  {
80  return new NotificationManager(
81  $this,
82  $ref_id
83  );
84  }
$ref_id
Definition: ltiauth.php:67

◆ object()

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

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

Referenced by ILIAS\Exercise\Notification\NotificationManager\__construct().

60  : ObjectManager
61  {
62  return new ObjectManager($ref_id);
63  }
$ref_id
Definition: ltiauth.php:67
+ Here is the caller graph for this function:

◆ peerReview()

ILIAS\Exercise\InternalDomainService::peerReview ( \ilExAssignment  $ass)

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

References ilExAssignment\getPeerReview().

71  {
72  if ($ass->getPeerReview()) {
73  return new \ilExPeerReview($ass);
74  }
75  return null;
76  }
Exercise peer review.
+ Here is the call graph for this function:

◆ team()

ILIAS\Exercise\InternalDomainService::team ( )

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

86  : TeamManager
87  {
88  return new TeamManager(
89  $this->repo,
90  $this,
92  );
93  }

◆ userEvent()

ILIAS\Exercise\InternalDomainService::userEvent ( )

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

110  : UserEvent
111  {
112  return new UserEvent(
113  $this->repo,
114  $this
115  );
116  }

Field Documentation

◆ $assignment_service

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

◆ $data

InternalDataService ILIAS\Exercise\InternalDomainService::$data
protected

◆ $repo

InternalRepoService ILIAS\Exercise\InternalDomainService::$repo
protected

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