|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\Test\Settings\MainSettings\SettingsGeneral:
Collaboration diagram for ILIAS\Test\Settings\MainSettings\SettingsGeneral:Public Member Functions | |
| __construct (protected string $question_set_type=\ilObjTest::QUESTION_SET_TYPE_FIXED, protected bool $anonymous_test=false) | |
| toForm (\ilLanguage $lng, FieldFactory $f, Refinery $refinery, ?array $environment=null) | |
| toStorage () | |
| toLog (AdditionalInformationGenerator $additional_info) | |
| getQuestionSetType () | |
| withQuestionSetType (string $question_set_type) | |
| getAnonymity () | |
| withAnonymity (bool $anonymous_test) | |
| toExport () | |
| Transform the object into a simple, associative array. More... | |
Public Member Functions inherited from ILIAS\Test\Settings\TestSettings | |
| __construct () | |
| toForm (\ilLanguage $lng, FieldFactory $f, Refinery $refinery, ?array $environment=null) | |
| toStorage () | |
| toLog (AdditionalInformationGenerator $additional_info) | |
| toExport () | |
| Transform the object into a simple, associative array. More... | |
Static Public Member Functions | |
| static | fromExport (array $data) |
| Creates an instance of the object from an array. More... | |
| static | fromExport (array $data) |
| Creates an instance of the object from an array. More... | |
Definition at line 30 of file SettingsGeneral.php.
| ILIAS\Test\Settings\MainSettings\SettingsGeneral::__construct | ( | protected string | $question_set_type = \ilObjTest::QUESTION_SET_TYPE_FIXED, |
| protected bool | $anonymous_test = false |
||
| ) |
Definition at line 32 of file SettingsGeneral.php.
References ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:
|
static |
Creates an instance of the object from an array.
This static factory method is responsible for constructing a new object instance from the provided array data. It should validate the input and may throw an exception if the data is incomplete or malformed.
| ExportableArray | $data | The data to restore the object from |
Implements ILIAS\Test\ExportImport\Exportable.
Definition at line 148 of file SettingsGeneral.php.
References $data.
Referenced by ILIAS\Test\Settings\MainSettings\MainSettings\fromExport().
Here is the caller graph for this function:| ILIAS\Test\Settings\MainSettings\SettingsGeneral::getAnonymity | ( | ) |
Definition at line 128 of file SettingsGeneral.php.
| ILIAS\Test\Settings\MainSettings\SettingsGeneral::getQuestionSetType | ( | ) |
Definition at line 116 of file SettingsGeneral.php.
| ILIAS\Test\Settings\MainSettings\SettingsGeneral::toExport | ( | ) |
Transform the object into a simple, associative array.
The resulting array represents the object's state and should contain only scalar values, arrays, or other Exportable objects.
Implements ILIAS\Test\ExportImport\Exportable.
Definition at line 140 of file SettingsGeneral.php.
| ILIAS\Test\Settings\MainSettings\SettingsGeneral::toForm | ( | \ilLanguage | $lng, |
| FieldFactory | $f, | ||
| Refinery | $refinery, | ||
| ?array | $environment = null |
||
| ) |
Reimplemented from ILIAS\Test\Settings\TestSettings.
Definition at line 43 of file SettingsGeneral.php.
| ILIAS\Test\Settings\MainSettings\SettingsGeneral::toLog | ( | AdditionalInformationGenerator | $additional_info | ) |
Reimplemented from ILIAS\Test\Settings\TestSettings.
Definition at line 98 of file SettingsGeneral.php.
References ILIAS\Test\Logging\AdditionalInformationGenerator\getEnabledDisabledTagForBool(), ILIAS\Test\Logging\AdditionalInformationGenerator\getTagForLangVar(), ILIAS\Test\Logging\AdditionalInformationGenerator\KEY_TEST_ANONYMITY, and ILIAS\Test\Logging\AdditionalInformationGenerator\KEY_TEST_QUESTION_SET_TYPE.
Here is the call graph for this function:| ILIAS\Test\Settings\MainSettings\SettingsGeneral::toStorage | ( | ) |
Reimplemented from ILIAS\Test\Settings\TestSettings.
Definition at line 90 of file SettingsGeneral.php.
References ILIAS\Repository\int().
Here is the call graph for this function:| ILIAS\Test\Settings\MainSettings\SettingsGeneral::withAnonymity | ( | bool | $anonymous_test | ) |
Definition at line 133 of file SettingsGeneral.php.
| ILIAS\Test\Settings\MainSettings\SettingsGeneral::withQuestionSetType | ( | string | $question_set_type | ) |
Definition at line 121 of file SettingsGeneral.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsMainGUI\getGeneralSettingsForStorage().
Here is the caller graph for this function: