ILIAS
release_8 Revision v8.19
|
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 (int $a_obj_id) | |
setMode (int $a_val) | |
getMode () | |
save () | |
read () | |
delete () | |
Data Fields | |
const | MODE_DEF_OFF_USER_ACTIVATION = 0 |
const | MODE_DEF_ON_OPT_OUT = 1 |
const | MODE_DEF_ON_NO_OPT_OUT = 2 |
Protected Attributes | |
int | $obj_id |
int | $mode = 0 |
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 Handles general object notification settings, see e.g. https://www.ilias.de/docu/goto_docu_wiki_wpage_3457_1357.html
Definition at line 21 of file class.ilObjNotificationSettings.php.
ilObjNotificationSettings::__construct | ( | int | $a_obj_id | ) |
Definition at line 31 of file class.ilObjNotificationSettings.php.
ilObjNotificationSettings::delete | ( | ) |
Definition at line 75 of file class.ilObjNotificationSettings.php.
References $db, ilDBInterface\manipulate(), and ilDBInterface\quote().
ilObjNotificationSettings::getMode | ( | ) |
Definition at line 45 of file class.ilObjNotificationSettings.php.
References $mode.
Referenced by save().
ilObjNotificationSettings::read | ( | ) |
Definition at line 63 of file class.ilObjNotificationSettings.php.
References $db, ilDBInterface\fetchAssoc(), ilDBInterface\query(), ilDBInterface\quote(), and setMode().
Referenced by __construct().
ilObjNotificationSettings::save | ( | ) |
Definition at line 50 of file class.ilObjNotificationSettings.php.
References $db, getMode(), and ilDBInterface\replace().
ilObjNotificationSettings::setMode | ( | int | $a_val | ) |
Definition at line 40 of file class.ilObjNotificationSettings.php.
Referenced by read().
|
protected |
Definition at line 29 of file class.ilObjNotificationSettings.php.
|
protected |
Definition at line 28 of file class.ilObjNotificationSettings.php.
Referenced by getMode().
|
protected |
Definition at line 27 of file class.ilObjNotificationSettings.php.
const ilObjNotificationSettings::MODE_DEF_OFF_USER_ACTIVATION = 0 |
Definition at line 23 of file class.ilObjNotificationSettings.php.
Referenced by ilNotification\getNotificationsForObject(), ilNotification\hasNotification(), and ilObjNotificationSettingsGUI\save().
const ilObjNotificationSettings::MODE_DEF_ON_NO_OPT_OUT = 2 |
Definition at line 25 of file class.ilObjNotificationSettings.php.
Referenced by ilNotification\getNotificationsForObject(), ilNotification\hasNotification(), ilNotification\hasOptOut(), ilObjNotificationSettingsGUI\initForm(), and ilObjNotificationSettingsGUI\save().
const ilObjNotificationSettings::MODE_DEF_ON_OPT_OUT = 1 |
Definition at line 24 of file class.ilObjNotificationSettings.php.
Referenced by ilNotification\getNotificationsForObject(), ilNotification\hasNotification(), ilObjNotificationSettingsGUI\initForm(), and ilObjNotificationSettingsGUI\save().