ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\Survey\Execution\DomainService Class Reference
+ Collaboration diagram for ILIAS\Survey\Execution\DomainService:

Public Member Functions

 __construct (InternalRepoService $repo_service, InternalDomainService $domain_service)
 
 run (\ilObjSurvey $survey, int $user_id, int $appraisee_id=0)
 

Protected Attributes

InternalRepoService $repo_service
 
InternalDomainService $domain_service
 

Static Protected Attributes

static array $managers = []
 

Detailed Description

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Survey\Execution\DomainService::__construct ( InternalRepoService  $repo_service,
InternalDomainService  $domain_service 
)

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

References ILIAS\Survey\Execution\DomainService\$domain_service, and ILIAS\Survey\Execution\DomainService\$repo_service.

39  {
40  $this->domain_service = $domain_service;
41  $this->repo_service = $repo_service;
42  }

Member Function Documentation

◆ run()

ILIAS\Survey\Execution\DomainService::run ( \ilObjSurvey  $survey,
int  $user_id,
int  $appraisee_id = 0 
)

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

References ilObject\getId().

48  : RunManager {
49  if (!isset(self::$managers[RunManager::class][$survey->getId()][$user_id][$appraisee_id])) {
50  self::$managers[RunManager::class][$survey->getId()][$user_id][$appraisee_id] =
51  new RunManager(
52  $this->repo_service,
53  $this->domain_service,
54  $survey,
55  $user_id,
56  $appraisee_id
57  );
58  }
59  return self::$managers[RunManager::class][$survey->getId()][$user_id][$appraisee_id];
60  }
+ Here is the call graph for this function:

Field Documentation

◆ $domain_service

InternalDomainService ILIAS\Survey\Execution\DomainService::$domain_service
protected

◆ $managers

array ILIAS\Survey\Execution\DomainService::$managers = []
staticprotected

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

◆ $repo_service

InternalRepoService ILIAS\Survey\Execution\DomainService::$repo_service
protected

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