ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
TestSettings.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Test\Settings
;
22
23
use
ILIAS\Test\Logging\AdditionalInformationGenerator
;
24
25
use
ILIAS\UI\Component\Input\Field\Factory
as
FieldFactory
;
26
use
ILIAS\UI\Component\Input\Container\Form\FormInput
;
27
use
ILIAS\Refinery\Factory
as
Refinery
;
28
29
abstract
class
TestSettings
30
{
31
protected
int
$test_id
;
32
33
public
function
__construct
(
int
$test_id)
34
{
35
$this->test_id =
$test_id
;
36
}
37
38
public
function
getTestId
():
int
39
{
40
return
$this->test_id
;
41
}
42
public
function
withTestId
(
int
$test_id): self
43
{
44
$clone = clone $this;
45
$clone->test_id =
$test_id
;
46
return
$clone;
47
}
48
49
abstract
public
function
toForm
(
50
\
ilLanguage
$lng
,
51
FieldFactory
$f
,
52
Refinery
$refinery
,
53
?array $environment =
null
54
):
FormInput
| array;
55
56
abstract
public
function
toStorage
(): array;
57
58
abstract
public
function
toLog
(
AdditionalInformationGenerator
$additional_info): array;
59
}
ILIAS\UI\examples\Layout\Page\Standard\$refinery
$refinery
Definition:
ui.php:137
ILIAS\Test\Settings\TestSettings
Definition:
TestSettings.php:29
ILIAS\Test\Settings\TestSettings\withTestId
withTestId(int $test_id)
Definition:
TestSettings.php:42
ilLanguage
FormInput
ILIAS\Test\Settings\TestSettings\toForm
toForm(\ilLanguage $lng, FieldFactory $f, Refinery $refinery, ?array $environment=null)
ILIAS\Test\Settings
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
ILIAS\Test\Settings\TestSettings\$test_id
int $test_id
Definition:
TestSettings.php:31
Factory
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
ILIAS\Test\Settings\TestSettings\getTestId
getTestId()
Definition:
TestSettings.php:38
ILIAS\Test\Settings\TestSettings\__construct
__construct(int $test_id)
Definition:
TestSettings.php:33
Factory
$lng
global $lng
Definition:
privfeed.php:31
AdditionalInformationGenerator
ILIAS\UI\Component\Input\Container\Form\FormInput
This describes inputs that can be used in forms.
Definition:
FormInput.php:32
ILIAS\Test\Settings\TestSettings\toLog
toLog(AdditionalInformationGenerator $additional_info)
ILIAS\Test\Settings\TestSettings\toStorage
toStorage()
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ILIAS\Test\Logging\AdditionalInformationGenerator
Definition:
AdditionalInformationGenerator.php:28
components
ILIAS
Test
src
Settings
TestSettings.php
Generated on Sun Aug 31 2025 23:03:59 for ILIAS by
1.8.13 (using
Doxyfile
)