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

Survey internal ui service. More...

+ Collaboration diagram for ILIAS\Survey\InternalGUIService:

Public Member Functions

 __construct (\ilObjectService $object_service, ModeFactory $mode_factory, InternalDomainService $domain_service)
 
 surveySettings (\ilObjSurvey $survey)
 
 evaluation (\ilObjSurvey $survey)
 
 editing ()
 
 execution ()
 
 infoScreen (\ilObjSurveyGUI $survey_gui, \ilToolbarGUI $toolbar)
 
 modeUIModifier (int $mode)
 
 lng ()
 
 print ()
 

Protected Attributes

ilObjectService $object_service
 
ModeFactory $mode_factory
 
InternalDomainService $domain_service
 
ServerRequestInterface $request
 

Detailed Description

Survey internal ui service.

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

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Survey\InternalGUIService::__construct ( \ilObjectService  $object_service,
ModeFactory  $mode_factory,
InternalDomainService  $domain_service 
)

Definition at line 43 of file class.InternalGUIService.php.

47 {
48 global $DIC;
49
50 $this->initGUIServices($DIC);
51 $this->object_service = $object_service;
52 $this->mode_factory = $mode_factory;
53 $this->domain_service = $domain_service;
54
55 $this->request = $DIC->http()->request();
56 }
initGUIServices(\ILIAS\DI\Container $DIC)
global $DIC
Definition: shib_login.php:26

References $DIC, ILIAS\Survey\InternalGUIService\$domain_service, ILIAS\Survey\InternalGUIService\$mode_factory, ILIAS\Survey\InternalGUIService\$object_service, and ILIAS\Repository\initGUIServices().

+ Here is the call graph for this function:

Member Function Documentation

◆ editing()

ILIAS\Survey\InternalGUIService::editing ( )

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

78 : Editing\GUIService
79 {
80 return new Editing\GUIService(
81 $this,
82 $this->domain_service
83 );
84 }

◆ evaluation()

ILIAS\Survey\InternalGUIService::evaluation ( \ilObjSurvey  $survey)

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

68 : Evaluation\GUIService
69 {
70 return new Evaluation\GUIService(
71 $this,
72 $this->object_service,
73 $survey,
74 $this->domain_service
75 );
76 }

◆ execution()

ILIAS\Survey\InternalGUIService::execution ( )

Definition at line 86 of file class.InternalGUIService.php.

86 : Execution\GUIService
87 {
88 return new Execution\GUIService(
89 $this,
90 $this->domain_service
91 );
92 }

Referenced by ILIAS\Survey\Execution\LaunchGUI\__construct().

+ Here is the caller graph for this function:

◆ infoScreen()

ILIAS\Survey\InternalGUIService::infoScreen ( \ilObjSurveyGUI  $survey_gui,
\ilToolbarGUI  $toolbar 
)

Definition at line 94 of file class.InternalGUIService.php.

98 $info_screen = new InfoScreen\InfoScreenGUI(
99 $survey_gui,
100 $toolbar,
101 $this->domain_service->user(),
102 $this->domain_service->lng(),
103 $this->ctrl(),
104 $this->request,
105 $this->domain_service
106 );
107
108 return $info_screen->getInfoScreenGUI();
109 }
Class ilInfoScreenGUI.

◆ lng()

ILIAS\Survey\InternalGUIService::lng ( )

Definition at line 117 of file class.InternalGUIService.php.

118 {
119 return $this->domain_service->lng();
120 }
language handling

◆ modeUIModifier()

ILIAS\Survey\InternalGUIService::modeUIModifier ( int  $mode)

Definition at line 111 of file class.InternalGUIService.php.

111 : UIModifier
112 {
113 $mode_provider = $this->mode_factory->getModeById($mode);
114 return $mode_provider->getUIModifier();
115 }

Referenced by ILIAS\Survey\Settings\UIFactory\__construct().

+ Here is the caller graph for this function:

◆ print()

ILIAS\Survey\InternalGUIService::print ( )

Definition at line 122 of file class.InternalGUIService.php.

122 : PrintView\GUIService
123 {
124 return new PrintView\GUIService(
125 $this,
126 $this->object_service,
127 $this->domain_service
128 );
129 }

◆ surveySettings()

ILIAS\Survey\InternalGUIService::surveySettings ( \ilObjSurvey  $survey)

Definition at line 58 of file class.InternalGUIService.php.

58 : Settings\UIFactory
59 {
60 return new Settings\UIFactory(
61 $this,
62 $this->object_service,
63 $survey,
64 $this->domain_service
65 );
66 }

Field Documentation

◆ $domain_service

InternalDomainService ILIAS\Survey\InternalGUIService::$domain_service
protected

◆ $mode_factory

ModeFactory ILIAS\Survey\InternalGUIService::$mode_factory
protected

◆ $object_service

ilObjectService ILIAS\Survey\InternalGUIService::$object_service
protected

◆ $request

ServerRequestInterface ILIAS\Survey\InternalGUIService::$request
protected

Definition at line 41 of file class.InternalGUIService.php.


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