◆ prepare()
◆ step_1()
ilNotificationUpdateSteps::step_1 |
( |
| ) |
|
◆ step_10()
ilNotificationUpdateSteps::step_10 |
( |
| ) |
|
Definition at line 160 of file ilNotificationUpdateSteps.php.
References ilDBConstants\T_TEXT.
162 if (!$this->db->tableColumnExists(
'notification_osd',
'identification')) {
163 $this->db->addTableColumn(
'notification_osd',
'identification', [
171 $this->db->manipulate(
'TRUNCATE TABLE notification_osd');
◆ step_11()
ilNotificationUpdateSteps::step_11 |
( |
| ) |
|
◆ step_2()
ilNotificationUpdateSteps::step_2 |
( |
| ) |
|
Definition at line 37 of file ilNotificationUpdateSteps.php.
References ilDBConstants\T_TEXT.
39 $this->db->manipulateF(
40 'DELETE FROM settings WHERE module = %s AND keyword = %s',
42 [
'notifications',
'enable_mail']
44 $this->db->manipulateF(
45 'UPDATE settings SET keyword = %s WHERE module = %s AND keyword = %s',
47 [
'osd_interval',
'notifications',
'osd_polling_intervall']
49 $this->db->manipulateF(
50 'UPDATE settings SET module = %s, keyword = %s WHERE module = %s AND keyword = %s',
52 [
'notifications',
'play_sound',
'chatroom',
'play_invitation_sound']
54 $this->db->manipulateF(
55 'UPDATE usr_pref SET keyword = %s WHERE keyword = %s',
57 [
'play_sound',
'chat_play_invitation_sound']
◆ step_3()
ilNotificationUpdateSteps::step_3 |
( |
| ) |
|
Definition at line 61 of file ilNotificationUpdateSteps.php.
References ilDBConstants\T_TEXT.
63 $this->db->manipulateF(
64 'DELETE FROM notification_usercfg WHERE module = %s',
68 ilNotificationSetupHelper::registerType(
70 'buddysystem_request',
71 'buddysystem_request',
72 'buddysystem_request_desc',
◆ step_4()
ilNotificationUpdateSteps::step_4 |
( |
| ) |
|
◆ step_5()
ilNotificationUpdateSteps::step_5 |
( |
| ) |
|
Definition at line 103 of file ilNotificationUpdateSteps.php.
References ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
105 ilNotificationSetupHelper::registerType(
109 'badge_received_desc',
114 'notification_usercfg',
121 $this->db->manipulateF(
122 'UPDATE notification_osd SET type = %s WHERE type = %s AND serialized LIKE %s',
124 [
'badge_received',
'osd_main',
'%icon_bdga.svg%']
◆ step_6()
ilNotificationUpdateSteps::step_6 |
( |
| ) |
|
◆ step_7()
ilNotificationUpdateSteps::step_7 |
( |
| ) |
|
◆ step_8()
ilNotificationUpdateSteps::step_8 |
( |
| ) |
|
◆ step_9()
ilNotificationUpdateSteps::step_9 |
( |
| ) |
|
Definition at line 146 of file ilNotificationUpdateSteps.php.
References ilDBConstants\T_TEXT.
148 $this->db->manipulateF(
149 "UPDATE settings SET value = CONCAT(value , '000') WHERE keyword = %s",
153 $this->db->manipulateF(
154 'UPDATE usr_pref SET keyword = %s WHERE keyword = %s',
156 [
'osd_play_sound',
'play_sound']
◆ $db
The documentation for this class was generated from the following file: