ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
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)

Definition at line 29 of file TestSettings.php.

References $test_id.

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

Member Function Documentation

◆ getTestId()

TestSettings::getTestId ( )

Definition at line 34 of file TestSettings.php.

References $test_id.

Referenced by ilObjTestScoreSettings\throwOnDifferentTestId().

34  : int
35  {
36  return $this->test_id;
37  }
+ Here is the caller graph for this function:

◆ toForm()

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

Referenced by withTestId().

+ Here is the caller graph for this function:

◆ toStorage()

TestSettings::toStorage ( )
abstract

Referenced by withTestId().

+ Here is the caller graph for this function:

◆ withTestId()

TestSettings::withTestId ( int  $test_id)

Definition at line 38 of file TestSettings.php.

References Vendor\Package\$f, $lng, ILIAS\Repository\$refinery, $test_id, toForm(), and toStorage().

38  : self
39  {
40  $clone = clone $this;
41  $clone->test_id = $test_id;
42  return $clone;
43  }
+ Here is the call graph for this function:

Field Documentation

◆ $test_id

int TestSettings::$test_id
protected

Definition at line 27 of file TestSettings.php.

Referenced by __construct(), getTestId(), and withTestId().


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