ILIAS  trunk Revision v11.0_alpha-1838-g59fc79e306b
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Test\Settings\TestSettings Class Reference
+ Inheritance diagram for ILIAS\Test\Settings\TestSettings:
+ Collaboration diagram for ILIAS\Test\Settings\TestSettings:

Public Member Functions

 __construct (int $test_id)
 
 getTestId ()
 
 withTestId (int $test_id)
 
 toForm (\ilLanguage $lng, FieldFactory $f, Refinery $refinery, ?array $environment=null)
 
 toStorage ()
 
 toLog (AdditionalInformationGenerator $additional_info)
 

Protected Attributes

int $test_id
 

Detailed Description

Definition at line 29 of file TestSettings.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Test\Settings\TestSettings::__construct ( int  $test_id)

Definition at line 33 of file TestSettings.php.

References ILIAS\Test\Settings\TestSettings\$test_id.

34  {
35  $this->test_id = $test_id;
36  }

Member Function Documentation

◆ getTestId()

◆ toForm()

ILIAS\Test\Settings\TestSettings::toForm ( \ilLanguage  $lng,
FieldFactory  $f,
Refinery  $refinery,
?array  $environment = null 
)
abstract

Referenced by ILIAS\Test\Settings\TestSettings\withTestId().

+ Here is the caller graph for this function:

◆ toLog()

ILIAS\Test\Settings\TestSettings::toLog ( AdditionalInformationGenerator  $additional_info)
abstract

Referenced by ILIAS\Test\Settings\TestSettings\withTestId().

+ Here is the caller graph for this function:

◆ toStorage()

ILIAS\Test\Settings\TestSettings::toStorage ( )
abstract

Referenced by ILIAS\Test\Settings\TestSettings\withTestId().

+ Here is the caller graph for this function:

◆ withTestId()

ILIAS\Test\Settings\TestSettings::withTestId ( int  $test_id)

Definition at line 42 of file TestSettings.php.

References Vendor\Package\$f, $lng, ILIAS\UI\examples\Layout\Page\Standard\$refinery, ILIAS\Test\Settings\TestSettings\$test_id, null, ILIAS\Test\Settings\TestSettings\toForm(), ILIAS\Test\Settings\TestSettings\toLog(), and ILIAS\Test\Settings\TestSettings\toStorage().

42  : self
43  {
44  $clone = clone $this;
45  $clone->test_id = $test_id;
46  return $clone;
47  }
+ Here is the call graph for this function:

Field Documentation

◆ $test_id

int ILIAS\Test\Settings\TestSettings::$test_id
protected

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