ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
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.
References $c, ilLanguage\getInstalledLanguages(), ilLanguage\txt(), and ILIAS\UI\Implementation\Component\Input\withValue().
Referenced by ILIAS\User\Profile\Prompt\Settings\buildPromptingSettingsInputs(), and ILIAS\User\Profile\Prompt\Settings\toForm().
|
private |
Definition at line 146 of file Settings.php.
References $lang, ILIAS\User\Profile\Prompt\Settings\buildLangTextAreaInputs(), ILIAS\User\Profile\Prompt\Settings\buildPromptModeInput(), ilLanguage\txt(), and ILIAS\UI\Implementation\Component\Input\ViewControl\withAdditionalTransformation().
Referenced by ILIAS\User\Profile\Prompt\Settings\toForm().
|
private |
Definition at line 170 of file Settings.php.
References ILIAS\User\Profile\Prompt\Settings\getDays(), ILIAS\User\Profile\Prompt\Settings\getMode(), ILIAS\User\Profile\Prompt\Settings\MODE_INCOMPLETE_ONLY, ILIAS\User\Profile\Prompt\Settings\MODE_ONCE_AFTER_LOGIN, ILIAS\User\Profile\Prompt\Settings\MODE_REPEAT, null, ilLanguage\txt(), ILIAS\UI\Implementation\Component\Input\ViewControl\withAdditionalTransformation(), and ILIAS\UI\Implementation\Component\Input\withValue().
Referenced by ILIAS\User\Profile\Prompt\Settings\buildPromptingSettingsInputs().
ILIAS\User\Profile\Prompt\Settings::getDays | ( | ) |
Definition at line 50 of file Settings.php.
Referenced by ILIAS\User\Profile\Prompt\Settings\buildPromptModeInput(), and ILIAS\User\Profile\Prompt\Repository\saveSettings().
ILIAS\User\Profile\Prompt\Settings::getInfoText | ( | string | $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\Settings\buildPromptModeInput(), and ILIAS\User\Profile\Prompt\Repository\saveSettings().
ILIAS\User\Profile\Prompt\Settings::getPromptText | ( | string | $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.
References $lang, $lng, ILIAS\UI\examples\Layout\Page\Standard\$refinery, ILIAS\User\Profile\Prompt\Settings\buildLangTextAreaInputs(), ILIAS\User\Profile\Prompt\Settings\buildPromptingSettingsInputs(), ilLanguage\loadLanguageModule(), and ilLanguage\txt().
ILIAS\User\Profile\Prompt\Settings::withFormData | ( | array | $data | ) |
Definition at line 86 of file Settings.php.
const ILIAS\User\Profile\Prompt\Settings::MODE_INCOMPLETE_ONLY = 0 |
Definition at line 34 of file Settings.php.
Referenced by ILIAS\User\Profile\Prompt\Settings\buildPromptModeInput().
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\Settings\buildPromptModeInput(), and 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\Settings\buildPromptModeInput(), and ILIAS\User\Profile\Prompt\StartUpStep\shouldInterceptRequest().