ILIAS  release_8 Revision v8.23
ILIAS\Survey\Settings\UIFactory Class Reference
+ Collaboration diagram for ILIAS\Survey\Settings\UIFactory:

Public Member Functions

 __construct (InternalGUIService $ui_service, \ilObjectServiceInterface $object_service, \ilObjSurvey $survey, InternalDomainService $domain_service)
 
 form (string $target_class)
 
 checkForm (\ilPropertyFormGUI $form)
 
 saveForm (\ilPropertyFormGUI $form)
 

Protected Attributes

InternalGUIService $ui_service
 
SettingsFormGUI $settings_form_gui
 
ilObjectServiceInterface $object_service
 
InternalDomainService $domain_service
 

Detailed Description

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

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Survey\Settings\UIFactory::__construct ( InternalGUIService  $ui_service,
\ilObjectServiceInterface  $object_service,
\ilObjSurvey  $survey,
InternalDomainService  $domain_service 
)

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

References ILIAS\Survey\Settings\UIFactory\$domain_service, ILIAS\Survey\Settings\UIFactory\$object_service, ILIAS\Survey\Settings\UIFactory\$ui_service, ilObjSurvey\getMode(), and ILIAS\Survey\InternalGUIService\modeUIModifier().

41  {
42  $this->ui_service = $ui_service;
43  $this->object_service = $object_service;
44  $this->domain_service = $domain_service;
45 
46  $mode_ui_modifier = $ui_service->modeUIModifier($survey->getMode());
47  $this->settings_form_gui = new SettingsFormGUI(
49  $this->domain_service,
51  $survey,
52  $mode_ui_modifier
53  );
54  }
InternalDomainService $domain_service
ilObjectServiceInterface $object_service
+ Here is the call graph for this function:

Member Function Documentation

◆ checkForm()

ILIAS\Survey\Settings\UIFactory::checkForm ( \ilPropertyFormGUI  $form)

Definition at line 61 of file class.UIFactory.php.

61  : bool
62  {
63  return $this->settings_form_gui->checkForm($form);
64  }

◆ form()

ILIAS\Survey\Settings\UIFactory::form ( string  $target_class)

Definition at line 56 of file class.UIFactory.php.

57  {
58  return $this->settings_form_gui->getForm($target_class);
59  }
This class represents a property form user interface.

◆ saveForm()

ILIAS\Survey\Settings\UIFactory::saveForm ( \ilPropertyFormGUI  $form)

Definition at line 66 of file class.UIFactory.php.

66  : void
67  {
68  $this->settings_form_gui->saveForm($form);
69  }

Field Documentation

◆ $domain_service

InternalDomainService ILIAS\Survey\Settings\UIFactory::$domain_service
protected

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

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

◆ $object_service

ilObjectServiceInterface ILIAS\Survey\Settings\UIFactory::$object_service
protected

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

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

◆ $settings_form_gui

SettingsFormGUI ILIAS\Survey\Settings\UIFactory::$settings_form_gui
protected

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

◆ $ui_service

InternalGUIService ILIAS\Survey\Settings\UIFactory::$ui_service
protected

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

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


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