ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Survey\InternalDataService Class Reference

Survey internal data service. More...

+ Collaboration diagram for ILIAS\Survey\InternalDataService:

Public Member Functions

 __construct ()
 
 code (string $code)
 
 run (int $survey_id, int $user_id)
 
 settings ()
 

Protected Attributes

Code DataFactory $code_factory
 
Execution DataFactory $execution_factory
 

Detailed Description

Survey internal data service.

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

Definition at line 27 of file class.InternalDataService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Survey\InternalDataService::__construct ( )

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

33  {
34  $this->code_factory = new Code\DataFactory();
35  $this->execution_factory = new Execution\DataFactory();
36  }

Member Function Documentation

◆ code()

ILIAS\Survey\InternalDataService::code ( string  $code)

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

38  : Code\Code
39  {
40  return $this->code_factory->code($code);
41  }

◆ run()

ILIAS\Survey\InternalDataService::run ( int  $survey_id,
int  $user_id 
)

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

43  : Execution\Run
44  {
45  return $this->execution_factory->run($survey_id, $user_id);
46  }

◆ settings()

ILIAS\Survey\InternalDataService::settings ( )

Definition at line 48 of file class.InternalDataService.php.

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

48  : Settings\SettingsFactory
49  {
50  return new Settings\SettingsFactory();
51  }
+ Here is the caller graph for this function:

Field Documentation

◆ $code_factory

Code DataFactory ILIAS\Survey\InternalDataService::$code_factory
protected

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

◆ $execution_factory

Execution DataFactory ILIAS\Survey\InternalDataService::$execution_factory
protected

Definition at line 30 of file class.InternalDataService.php.


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