ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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,
42 );
43 }

References $ass_id.

◆ exPeerReview()

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

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

46 {
47 if ($ass->getPeerReview()) {
48 return new \ilExPeerReview($ass);
49 }
50 return null;
51 }
Exercise peer review.

References ilExAssignment\getPeerReview().

+ Here is the call graph for this function:

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