ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
ILIAS\Exercise\PeerReview\DomainService Class Reference
+ Collaboration diagram for ILIAS\Exercise\PeerReview\DomainService:

Public Member Functions

 __construct (protected InternalRepoService $repo, protected InternalDomainService $domain_service)
 
 criteriaFile (int $ass_id)
 
 exPeerReview (\ilExAssignment $ass)
 

Detailed Description

Definition at line 27 of file class.DomainService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Exercise\PeerReview\DomainService::__construct ( protected InternalRepoService  $repo,
protected InternalDomainService  $domain_service 
)

Definition at line 29 of file class.DomainService.php.

32  {
33  }

Member Function Documentation

◆ criteriaFile()

ILIAS\Exercise\PeerReview\DomainService::criteriaFile ( int  $ass_id)

Definition at line 35 of file class.DomainService.php.

35  : CriteriaFileManager
36  {
37  return new CriteriaFileManager(
38  $this->repo,
39  $this->domain_service,
41  $ass_id
42  );
43  }

◆ exPeerReview()

ILIAS\Exercise\PeerReview\DomainService::exPeerReview ( \ilExAssignment  $ass)

Definition at line 45 of file class.DomainService.php.

References ilExAssignment\getPeerReview().

46  {
47  if ($ass->getPeerReview()) {
48  return new \ilExPeerReview($ass);
49  }
50  return null;
51  }
Exercise peer review.
+ Here is the call graph for this function:

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