ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct () | |
saveSettings (ilProfilePromptSettings $settings) | |
getSettings () | |
getUserPrompt (int $user_id) | |
saveLastUserPrompt (int $user_id, string $last_profile_prompt="") | |
Protected Attributes | |
ilLanguage | $lng |
ilSetting | $user_settings |
ilDBInterface | $db |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Profile prompt data gateway
Definition at line 23 of file class.ilUserProfilePromptDataGateway.php.
ilUserProfilePromptDataGateway::__construct | ( | ) |
Definition at line 29 of file class.ilUserProfilePromptDataGateway.php.
References $DIC, and ILIAS\Repository\lng().
ilUserProfilePromptDataGateway::getSettings | ( | ) |
Definition at line 53 of file class.ilUserProfilePromptDataGateway.php.
References $lng, $user_settings, ilSetting\get(), ilLanguage\getInstalledLanguages(), and ILIAS\Repository\int().
ilUserProfilePromptDataGateway::getUserPrompt | ( | int | $user_id | ) |
Definition at line 72 of file class.ilUserProfilePromptDataGateway.php.
References $db, ilDBInterface\fetchAssoc(), and ilDBInterface\queryF().
ilUserProfilePromptDataGateway::saveLastUserPrompt | ( | int | $user_id, |
string | $last_profile_prompt = "" |
||
) |
Definition at line 88 of file class.ilUserProfilePromptDataGateway.php.
References $db, ilUtil\now(), and ilDBInterface\update().
ilUserProfilePromptDataGateway::saveSettings | ( | ilProfilePromptSettings | $settings | ) |
Definition at line 38 of file class.ilUserProfilePromptDataGateway.php.
References $user_settings, ilProfilePromptSettings\getDays(), ilProfilePromptSettings\getInfoTexts(), ilProfilePromptSettings\getMode(), ilProfilePromptSettings\getPromptTexts(), and ilSetting\set().
|
protected |
Definition at line 27 of file class.ilUserProfilePromptDataGateway.php.
Referenced by getUserPrompt(), and saveLastUserPrompt().
|
protected |
Definition at line 25 of file class.ilUserProfilePromptDataGateway.php.
Referenced by getSettings().
|
protected |
Definition at line 26 of file class.ilUserProfilePromptDataGateway.php.
Referenced by getSettings(), and saveSettings().