ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
class.DomainService.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
26 
28 {
29  public function __construct(
30  protected InternalRepoService $repo,
31  protected InternalDomainService $domain_service
32  ) {
33  }
34 
36  {
37  return new CriteriaFileManager(
38  $this->repo,
39  $this->domain_service,
41  $ass_id
42  );
43  }
44 
45  public function exPeerReview(\ilExAssignment $ass): ?\ilExPeerReview
46  {
47  if ($ass->getPeerReview()) {
48  return new \ilExPeerReview($ass);
49  }
50  return null;
51  }
52 
53 }
__construct(protected InternalRepoService $repo, protected InternalDomainService $domain_service)
Exercise assignment.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Exercise peer review.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...