ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
class.InternalDataService.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
21
namespace
ILIAS\Survey
;
22
27
class
InternalDataService
28
{
29
protected
Code\DataFactory
$code_factory
;
30
protected
Execution\DataFactory
$execution_factory
;
31
32
public
function
__construct
()
33
{
34
$this->code_factory =
new
Code\DataFactory
();
35
$this->execution_factory =
new
Execution\DataFactory
();
36
}
37
38
public
function
code
(
string
$code): Code\Code
39
{
40
return
$this->code_factory->code($code);
41
}
42
43
public
function
run
(
int
$survey_id,
int
$user_id): Execution\
Run
44
{
45
return
$this->execution_factory->run($survey_id, $user_id);
46
}
47
48
public
function
settings
(): Settings\
SettingsFactory
49
{
50
return
new
Settings\SettingsFactory
();
51
}
52
}
ILIAS\Survey\InternalDataService\settings
settings()
Definition:
class.InternalDataService.php:48
ILIAS\Survey\InternalDataService\__construct
__construct()
Definition:
class.InternalDataService.php:32
ILIAS\Survey\InternalDataService\$code_factory
Code DataFactory $code_factory
Definition:
class.InternalDataService.php:29
ILIAS\Survey\InternalDataService\run
run(int $survey_id, int $user_id)
Definition:
class.InternalDataService.php:43
ILIAS\Survey\Settings\SettingsFactory
Survey settings factory.
Definition:
SettingsFactory.php:28
ILIAS\Survey\Execution\Run
Code data class.
Definition:
class.Run.php:27
ILIAS\Survey
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\Survey\InternalDataService\code
code(string $code)
Definition:
class.InternalDataService.php:38
ILIAS\Survey\InternalDataService\$execution_factory
Execution DataFactory $execution_factory
Definition:
class.InternalDataService.php:30
ILIAS\Survey\Code\DataFactory
Definition:
class.DataFactory.php:26
ILIAS\Survey\Execution\DataFactory
Definition:
class.DataFactory.php:26
ILIAS\Survey\InternalDataService
Survey internal data service.
Definition:
class.InternalDataService.php:27
Modules
Survey
Service
class.InternalDataService.php
Generated on Sun Aug 31 2025 22:01:14 for ILIAS by
1.8.13 (using
Doxyfile
)