ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Profile prompt settings. More...
Public Member Functions | |
__construct (private int $mode, private ?int $days, private array $info_texts, private array $prompt_texts) | |
getDays () | |
getMode () | |
getInfoTexts () | |
getPromptTexts () | |
getInfoText (string $lang) | |
getPromptText (string $lang) | |
withFormData (array $data) | |
toForm (UIFactory $ui_factory, \ilLanguage $lng, Refinery $refinery) | |
Data Fields | |
const | MODE_INCOMPLETE_ONLY = 0 |
const | MODE_ONCE_AFTER_LOGIN = 1 |
const | MODE_REPEAT = 2 |
Private Member Functions | |
buildLangTextAreaInputs (FieldFactory $field_factory, \ilLanguage $lng, \Closure $value_closure) | |
buildPromptingSettingsInputs (FieldFactory $field_factory, \ilLanguage $lng, Refinery $refinery) | |
buildPromptModeInput (FieldFactory $field_factory, \ilLanguage $lng, Refinery $refinery) | |
Profile prompt settings.
Definition at line 32 of file Settings.php.
ILIAS\User\Profile\Prompt\Settings::__construct | ( | private int | $mode, |
private ?int | $days, | ||
private array | $info_texts, | ||
private array | $prompt_texts | ||
) |
array<string,string> | $info_texts |
array<string,string> | $promp_texts |
Definition at line 42 of file Settings.php.
|
private |
Definition at line 126 of file Settings.php.
|
private |
Definition at line 146 of file Settings.php.
|
private |
Definition at line 170 of file Settings.php.
ILIAS\User\Profile\Prompt\Settings::getDays | ( | ) |
Definition at line 50 of file Settings.php.
Referenced by ILIAS\User\Profile\Prompt\Repository\saveSettings().
ILIAS\User\Profile\Prompt\Settings::getInfoText | ( | string | $lang | ) |
Definition at line 76 of file Settings.php.
References $lang.
ILIAS\User\Profile\Prompt\Settings::getInfoTexts | ( | ) |
Definition at line 63 of file Settings.php.
Referenced by ILIAS\User\Profile\Prompt\Repository\saveSettings().
ILIAS\User\Profile\Prompt\Settings::getMode | ( | ) |
Definition at line 55 of file Settings.php.
Referenced by ILIAS\User\Profile\Prompt\Repository\saveSettings().
ILIAS\User\Profile\Prompt\Settings::getPromptText | ( | string | $lang | ) |
Definition at line 81 of file Settings.php.
References $lang.
ILIAS\User\Profile\Prompt\Settings::getPromptTexts | ( | ) |
Definition at line 71 of file Settings.php.
Referenced by ILIAS\User\Profile\Prompt\Repository\saveSettings().
ILIAS\User\Profile\Prompt\Settings::toForm | ( | UIFactory | $ui_factory, |
\ilLanguage | $lng, | ||
Refinery | $refinery | ||
) |
Definition at line 99 of file Settings.php.
ILIAS\User\Profile\Prompt\Settings::withFormData | ( | array | $data | ) |
Definition at line 86 of file Settings.php.
References $data.
const ILIAS\User\Profile\Prompt\Settings::MODE_INCOMPLETE_ONLY = 0 |
Definition at line 34 of file Settings.php.
const ILIAS\User\Profile\Prompt\Settings::MODE_ONCE_AFTER_LOGIN = 1 |
Definition at line 35 of file Settings.php.
Referenced by ILIAS\User\Profile\Prompt\StartUpStep\shouldInterceptRequest().
const ILIAS\User\Profile\Prompt\Settings::MODE_REPEAT = 2 |
Definition at line 36 of file Settings.php.
Referenced by ILIAS\User\Profile\Prompt\StartUpStep\shouldInterceptRequest().