ILIAS  release_8 Revision v8.24
ILIAS\Survey\InternalGUIService Class Reference

Survey internal ui service. More...

+ Collaboration diagram for ILIAS\Survey\InternalGUIService:

Public Member Functions

 __construct (\ilObjectServiceInterface $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

ilLanguage $lng
 
ModeFactory $mode_factory
 
InternalDomainService $domain_service
 
ServerRequestInterface $request
 
ilObjUser $user
 

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 ( \ilObjectServiceInterface  $object_service,
ModeFactory  $mode_factory,
InternalDomainService  $domain_service 
)

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

48 {
49 global $DIC;
50
51 $this->initGUIServices($DIC);
52 $this->object_service = $object_service;
53 $this->mode_factory = $mode_factory;
54 $this->domain_service = $domain_service;
55
56 $this->ctrl = $DIC->ctrl();
57 $this->ui = $DIC->ui();
58 $this->lng = $DIC->language();
59 $this->user = $DIC->user();
60 $this->request = $DIC->http()->request();
61 $this->main_tpl = $DIC->ui()->mainTemplate();
62 $this->http = $DIC->http();
63 }
global $DIC
Definition: feed.php:28
static http()
Fetches the global http state from ILIAS.
initGUIServices(\ILIAS\DI\Container $DIC)

References $DIC, ILIAS\Survey\InternalGUIService\$domain_service, ILIAS\Survey\InternalGUIService\$mode_factory, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\initGUIServices(), ILIAS\Survey\InternalGUIService\lng(), ILIAS\Repository\ui(), and ILIAS\Repository\user().

+ Here is the call graph for this function:

Member Function Documentation

◆ editing()

ILIAS\Survey\InternalGUIService::editing ( )

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

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

◆ evaluation()

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

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

75 : Evaluation\GUIService
76 {
77 return new Evaluation\GUIService(
78 $this,
79 $this->object_service,
80 $survey,
81 $this->domain_service
82 );
83 }

◆ execution()

ILIAS\Survey\InternalGUIService::execution ( )

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

93 : Execution\GUIService
94 {
95 return new Execution\GUIService(
96 $this,
97 $this->domain_service
98 );
99 }

◆ infoScreen()

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

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

105 $info_screen = new InfoScreen\InfoScreenGUI(
106 $survey_gui,
107 $toolbar,
108 $this->user,
109 $this->lng,
110 $this->ctrl,
111 $this->request,
112 $this->domain_service
113 );
114
115 return $info_screen->getInfoScreenGUI();
116 }
Class ilInfoScreenGUI.

◆ lng()

ILIAS\Survey\InternalGUIService::lng ( )

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

125 {
126 return $this->lng;
127 }
language handling

References $lng.

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

+ Here is the caller graph for this function:

◆ modeUIModifier()

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

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

118 : UIModifier
119 {
120 $mode_provider = $this->mode_factory->getModeById($mode);
121 return $mode_provider->getUIModifier();
122 }

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

+ Here is the caller graph for this function:

◆ print()

ILIAS\Survey\InternalGUIService::print ( )

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

129 : PrintView\GUIService
130 {
131 return new PrintView\GUIService(
132 $this,
133 $this->object_service,
134 $this->domain_service
135 );
136 }

◆ surveySettings()

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

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

65 : Settings\UIFactory
66 {
67 return new Settings\UIFactory(
68 $this,
69 $this->object_service,
70 $survey,
71 $this->domain_service
72 );
73 }

Field Documentation

◆ $domain_service

InternalDomainService ILIAS\Survey\InternalGUIService::$domain_service
protected

◆ $lng

ilLanguage ILIAS\Survey\InternalGUIService::$lng
protected

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

◆ $mode_factory

ModeFactory ILIAS\Survey\InternalGUIService::$mode_factory
protected

◆ $request

ServerRequestInterface ILIAS\Survey\InternalGUIService::$request
protected

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

◆ $user

ilObjUser ILIAS\Survey\InternalGUIService::$user
protected

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


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