ILIAS  trunk Revision v13.0_alpha-52-g21c366bbdd4
class.DomainService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
28
30{
31 public function __construct(
32 protected InternalRepoService $repo,
33 protected InternalDomainService $domain_service
34 ) {
35 }
36
38 {
39 return new CriteriaFileManager(
40 $this->repo,
41 $this->domain_service,
44 );
45 }
46
47 public function exPeerReview(\ilExAssignment $ass): ?\ilExPeerReview
48 {
49 if ($ass->getPeerReview()) {
50 return new \ilExPeerReview($ass);
51 }
52 return null;
53 }
54
56 {
57 return new CriteriaCatalogueRetrieval($this->domain_service, $exc_id);
58 }
59
60 public function criteriaRetrieval(int $cat_id): CriteriaRetrieval
61 {
62 return new CriteriaRetrieval($this->domain_service, $cat_id);
63 }
64
65}
__construct(protected InternalRepoService $repo, protected InternalDomainService $domain_service)
Exercise assignment.
Exercise peer review.