ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 }

References $user_id.

◆ settings()

ILIAS\Survey\InternalDataService::settings ( )

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

48 : Settings\SettingsFactory
49 {
50 return new Settings\SettingsFactory();
51 }

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: