ILIAS  release_8 Revision v8.24
TestSettings Class Reference
+ Inheritance diagram for TestSettings:
+ Collaboration diagram for TestSettings:

Public Member Functions

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

Protected Attributes

int $test_id
 

Detailed Description

Definition at line 25 of file TestSettings.php.

Constructor & Destructor Documentation

◆ __construct()

TestSettings::__construct ( int  $test_id)

Reimplemented in ilObjTestSettingsGamification, ilObjTestSettingsResultDetails, ilObjTestSettingsResultSummary, and ilObjTestSettingsScoring.

Definition at line 29 of file TestSettings.php.

30 {
31 $this->test_id = $test_id;
32 }

References $test_id.

Member Function Documentation

◆ getTestId()

TestSettings::getTestId ( )

Definition at line 34 of file TestSettings.php.

34 : int
35 {
36 return $this->test_id;
37 }

References $test_id.

Referenced by ilObjTestScoreSettings\throwOnDifferentTestId().

+ Here is the caller graph for this function:

◆ toForm()

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

◆ toStorage()

◆ withTestId()

TestSettings::withTestId ( int  $test_id)

Definition at line 38 of file TestSettings.php.

38 : self
39 {
40 $clone = clone $this;
41 $clone->test_id = $test_id;
42 return $clone;
43 }

References $test_id.

Field Documentation

◆ $test_id


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