ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Survey\InternalService Class Reference

Survey internal service. More...

+ Collaboration diagram for ILIAS\Survey\InternalService:

Public Member Functions

 __construct ()
 
 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\Survey\InternalService::__construct ( )

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

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: shib_login.php:26

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

+ 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.

74 {
75 return $this->data;
76 }

References ILIAS\Survey\InternalService\$data.

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

+ Here is the caller graph for this function:

◆ domain()

ILIAS\Survey\InternalService::domain ( )

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

79 {
80 return $this->domain;
81 }

References ILIAS\Survey\InternalService\$domain.

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

+ Here is the caller graph for this function:

◆ gui()

ILIAS\Survey\InternalService::gui ( )

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

64 {
65 return $this->gui;
66 }

References ILIAS\Survey\InternalService\$gui.

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

+ Here is the caller graph for this function:

◆ repo()

ILIAS\Survey\InternalService::repo ( )

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

69 {
70 return $this->repo;
71 }

References ILIAS\Survey\InternalService\$repo.

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

+ 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: