ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\Survey\InternalService Class Reference

Survey internal service. More...

+ Collaboration diagram for ILIAS\Survey\InternalService:

Public Member Functions

 __construct ()
 Constructor. More...
 
 gui ()
 
 repo ()
 
 data ()
 
 domain ()
 

Protected Attributes

InternalDataService $data
 
InternalGUIService $gui
 
InternalDomainService $domain
 
InternalRepoService $repo
 
ModeFactory $mode_factory
 
ilDBInterface $db
 

Detailed Description

Survey internal service.

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

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Exercise\InternalService::__construct ( )

Constructor.

Definition at line 38 of file class.InternalService.php.

References $DIC, ILIAS\Survey\InternalService\data(), ILIAS\Survey\InternalService\domain(), ILIAS\Survey\InternalService\gui(), and ILIAS\Survey\InternalService\repo().

39  {
40  global $DIC;
41 
42  $object_service = $DIC->object();
43  $this->db = $DIC->database();
44  $this->mode_factory = new ModeFactory();
45  $this->data = new InternalDataService();
46  $this->repo = new InternalRepoService(
47  $this->data(),
48  $this->db
49  );
50  $this->domain = new InternalDomainService(
51  $this->mode_factory,
52  $this->repo,
53  $this->data
54  );
55  $this->gui = new InternalGUIService(
56  $object_service,
57  $this->mode_factory,
58  $this->domain
59  );
60  $this->mode_factory->setInternalService($this);
61  }
global $DIC
Definition: feed.php:28
+ Here is the call graph for this function:

Member Function Documentation

◆ data()

ILIAS\Survey\InternalService::data ( )

Definition at line 73 of file class.InternalService.php.

References ILIAS\Survey\InternalService\$data.

Referenced by ILIAS\Survey\InternalService\__construct().

73  : InternalDataService
74  {
75  return $this->data;
76  }
+ Here is the caller graph for this function:

◆ domain()

ILIAS\Survey\InternalService::domain ( )

Definition at line 78 of file class.InternalService.php.

References ILIAS\Survey\InternalService\$domain.

Referenced by ILIAS\Survey\InternalService\__construct().

78  : InternalDomainService
79  {
80  return $this->domain;
81  }
+ Here is the caller graph for this function:

◆ gui()

ILIAS\Survey\InternalService::gui ( )

Definition at line 63 of file class.InternalService.php.

References ILIAS\Survey\InternalService\$gui.

Referenced by ILIAS\Survey\InternalService\__construct().

63  : InternalGUIService
64  {
65  return $this->gui;
66  }
+ Here is the caller graph for this function:

◆ repo()

ILIAS\Survey\InternalService::repo ( )

Definition at line 68 of file class.InternalService.php.

References ILIAS\Survey\InternalService\$repo.

Referenced by ILIAS\Survey\InternalService\__construct().

68  : InternalRepoService
69  {
70  return $this->repo;
71  }
+ Here is the caller graph for this function:

Field Documentation

◆ $data

InternalDataService ILIAS\Survey\InternalService::$data
protected

Definition at line 31 of file class.InternalService.php.

Referenced by ILIAS\Survey\InternalService\data().

◆ $db

ilDBInterface ILIAS\Survey\InternalService::$db
protected

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

◆ $domain

InternalDomainService ILIAS\Survey\InternalService::$domain
protected

Definition at line 33 of file class.InternalService.php.

Referenced by ILIAS\Survey\InternalService\domain().

◆ $gui

InternalGUIService ILIAS\Survey\InternalService::$gui
protected

Definition at line 32 of file class.InternalService.php.

Referenced by ILIAS\Survey\InternalService\gui().

◆ $mode_factory

ModeFactory ILIAS\Survey\InternalService::$mode_factory
protected

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

◆ $repo

InternalRepoService ILIAS\Survey\InternalService::$repo
protected

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

Referenced by ILIAS\Survey\InternalService\repo().


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