|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour:
Collaboration diagram for ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour:Public Member Functions | |
| __construct (protected int $question_title_output_mode, protected bool $autosave_enabled, protected int $autosave_interval, protected bool $shuffle_questions, protected bool $instant_feedback_points_enabled, protected bool $instant_feedback_generic_enabled, protected bool $instant_feedback_specific_enabled, protected bool $instant_feedback_solution_enabled, protected bool $force_instant_feedback_on_next_question, protected bool $lock_answer_on_instant_feedback, protected bool $lock_answer_on_next_question) | |
| toForm (\ilLanguage $lng, FieldFactory $f, Refinery $refinery, ?array $environment=null) | |
| toStorage () | |
| toLog (AdditionalInformationGenerator $additional_info) | |
| getQuestionTitleOutputMode () | |
| withQuestionTitleOutputMode (int $question_title_output_mode) | |
| getAutosaveEnabled () | |
| withAutosaveEnabled (bool $autosave_enabled) | |
| getAutosaveInterval () | |
| withAutosaveInterval (int $autosave_interval) | |
| getShuffleQuestions () | |
| withShuffleQuestions (bool $shuffle_questions) | |
| getInstantFeedbackPointsEnabled () | |
| withInstantFeedbackPointsEnabled (bool $instant_feedback_points_enabled) | |
| getInstantFeedbackGenericEnabled () | |
| withInstantFeedbackGenericEnabled (bool $instant_feedback_generic_enabled) | |
| getInstantFeedbackSpecificEnabled () | |
| withInstantFeedbackSpecificEnabled (bool $instant_feedback_specific_enabled) | |
| getInstantFeedbackSolutionEnabled () | |
| withInstantFeedbackSolutionEnabled (bool $instant_feedback_solution_enabled) | |
| getForceInstantFeedbackOnNextQuestion () | |
| withForceInstantFeedbackOnNextQuestion (bool $force_instant_feedback_on_next_question) | |
| getLockAnswerOnInstantFeedbackEnabled () | |
| withLockAnswerOnInstantFeedbackEnabled (bool $lock_answer_on_instant_feedback) | |
| getLockAnswerOnNextQuestionEnabled () | |
| withLockAnswerOnNextQuestionEnabled (bool $lock_answer_on_next_question) | |
| 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... | |
Data Fields | |
| const | ANSWER_FIXATION_NONE = 'none' |
| const | ANSWER_FIXATION_ON_IFB_OR_FUQST = 'ifb_or_fuqst' |
Private Member Functions | |
| getInputAutosave (\ilLanguage $lng, FieldFactory $f, Refinery $refinery) | |
| getInputInstantFeedback (\ilLanguage $lng, FieldFactory $f, Refinery $refinery, array $environment) | |
| getSubInputInstantFeedback (\ilLanguage $lng, FieldFactory $f, array $environment) | |
| getInputLockAnswers (\ilLanguage $lng, FieldFactory $f, Refinery $refinery, array $environment) | |
| getTransformationLockAnswers (Refinery $refinery) | |
| getShuffleAndLockAnswersConstraint (\ilLanguage $lng, Refinery $refinery) | |
| isAnyInstantFeedbackOptionEnabled () | |
| getAnswerFixationSettingsAsFormValue () | |
Private Attributes | |
| const | DEFAULT_AUTOSAVE_INTERVAL = 30000 |
Definition at line 34 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::__construct | ( | protected int | $question_title_output_mode, |
| protected bool | $autosave_enabled, | ||
| protected int | $autosave_interval, | ||
| protected bool | $shuffle_questions, | ||
| protected bool | $instant_feedback_points_enabled, | ||
| protected bool | $instant_feedback_generic_enabled, | ||
| protected bool | $instant_feedback_specific_enabled, | ||
| protected bool | $instant_feedback_solution_enabled, | ||
| protected bool | $force_instant_feedback_on_next_question, | ||
| protected bool | $lock_answer_on_instant_feedback, | ||
| protected bool | $lock_answer_on_next_question | ||
| ) |
Definition at line 41 of file SettingsQuestionBehaviour.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 568 of file SettingsQuestionBehaviour.php.
References $data, and ILIAS\Repository\int().
Referenced by ILIAS\Test\Settings\MainSettings\MainSettings\fromExport().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 536 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::getAutosaveEnabled | ( | ) |
Definition at line 408 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::getAutosaveInterval | ( | ) |
Definition at line 420 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::getForceInstantFeedbackOnNextQuestion | ( | ) |
Definition at line 500 of file SettingsQuestionBehaviour.php.
|
private |
Definition at line 97 of file SettingsQuestionBehaviour.php.
|
private |
Definition at line 140 of file SettingsQuestionBehaviour.php.
|
private |
Definition at line 260 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::getInstantFeedbackGenericEnabled | ( | ) |
Definition at line 456 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::getInstantFeedbackPointsEnabled | ( | ) |
Definition at line 444 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::getInstantFeedbackSolutionEnabled | ( | ) |
Definition at line 480 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::getInstantFeedbackSpecificEnabled | ( | ) |
Definition at line 468 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::getLockAnswerOnInstantFeedbackEnabled | ( | ) |
Definition at line 512 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::getLockAnswerOnNextQuestionEnabled | ( | ) |
Definition at line 524 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::getQuestionTitleOutputMode | ( | ) |
Definition at line 396 of file SettingsQuestionBehaviour.php.
|
private |
Definition at line 307 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::getShuffleQuestions | ( | ) |
Definition at line 432 of file SettingsQuestionBehaviour.php.
|
private |
Definition at line 210 of file SettingsQuestionBehaviour.php.
|
private |
Definition at line 298 of file SettingsQuestionBehaviour.php.
References ILIAS\UI\examples\Layout\Page\Mail\$refinery.
|
private |
Definition at line 492 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::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 551 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::toForm | ( | \ilLanguage | $lng, |
| FieldFactory | $f, | ||
| Refinery | $refinery, | ||
| ?array | $environment = null |
||
| ) |
Reimplemented from ILIAS\Test\Settings\TestSettings.
Definition at line 61 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::toLog | ( | AdditionalInformationGenerator | $additional_info | ) |
Reimplemented from ILIAS\Test\Settings\TestSettings.
Definition at line 340 of file SettingsQuestionBehaviour.php.
References ILIAS\Test\Logging\AdditionalInformationGenerator\getEnabledDisabledTagForBool(), and ILIAS\Test\Logging\AdditionalInformationGenerator\getTagForLangVar().
Here is the call graph for this function:| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::toStorage | ( | ) |
Reimplemented from ILIAS\Test\Settings\TestSettings.
Definition at line 323 of file SettingsQuestionBehaviour.php.
References ILIAS\Repository\int().
Here is the call graph for this function:| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::withAutosaveEnabled | ( | bool | $autosave_enabled | ) |
Definition at line 413 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::withAutosaveInterval | ( | int | $autosave_interval | ) |
Definition at line 425 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::withForceInstantFeedbackOnNextQuestion | ( | bool | $force_instant_feedback_on_next_question | ) |
Definition at line 505 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::withInstantFeedbackGenericEnabled | ( | bool | $instant_feedback_generic_enabled | ) |
Definition at line 461 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::withInstantFeedbackPointsEnabled | ( | bool | $instant_feedback_points_enabled | ) |
Definition at line 449 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::withInstantFeedbackSolutionEnabled | ( | bool | $instant_feedback_solution_enabled | ) |
Definition at line 485 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::withInstantFeedbackSpecificEnabled | ( | bool | $instant_feedback_specific_enabled | ) |
Definition at line 473 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::withLockAnswerOnInstantFeedbackEnabled | ( | bool | $lock_answer_on_instant_feedback | ) |
Definition at line 517 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::withLockAnswerOnNextQuestionEnabled | ( | bool | $lock_answer_on_next_question | ) |
Definition at line 529 of file SettingsQuestionBehaviour.php.
| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::withQuestionTitleOutputMode | ( | int | $question_title_output_mode | ) |
Definition at line 401 of file SettingsQuestionBehaviour.php.
Referenced by ILIAS\Test\Settings\MainSettings\SettingsMainGUI\getQuestionBehaviourSettingsForStorage().
Here is the caller graph for this function:| ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::withShuffleQuestions | ( | bool | $shuffle_questions | ) |
Definition at line 437 of file SettingsQuestionBehaviour.php.
| const ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::ANSWER_FIXATION_NONE = 'none' |
Definition at line 38 of file SettingsQuestionBehaviour.php.
| const ILIAS\Test\Settings\MainSettings\SettingsQuestionBehaviour::ANSWER_FIXATION_ON_IFB_OR_FUQST = 'ifb_or_fuqst' |
Definition at line 39 of file SettingsQuestionBehaviour.php.
|
private |
Definition at line 36 of file SettingsQuestionBehaviour.php.