ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
Static Public Member Functions | |
static | getTranslatedLanguageVariablesOfNotificationParameters (array $vars=[]) |
static | setUserConfig (int $userid, array $configArray) |
static | loadUserConfig (int $userid) |
static | enqueueByUsers (ilNotificationConfig $notification, array $usr_ids) |
static | enqueueByListener (ilNotificationConfig $notification, int $ref_id) |
static | storeNotification (ilNotificationConfig $notification) |
static | removeNotification (int $id) |
static | getUsersByListener (string $module, int $sender_id) |
static | disableListeners (string $module, int $sender_id) |
static | enableListeners (string $module, int $sender_id, array $users=[]) |
static | registerChannel (ilDBInterface $db, string $name, string $title, string $description, string $class, string $classfile, string $config_type) |
static | registerType (ilDBInterface $db, string $name, string $title, string $description, string $notification_group, string $config_type) |
static | getAvailableChannels (array $config_types=[], bool $include_disabled=false) |
static | getAvailableTypes (array $config_types=[]) |
static | setConfigTypeForType (string $type_name, string $config_name) |
static | setConfigTypeForChannel (string $channel_name, string $config_name) |
static | getUsersWithCustomConfig (array $usr_ids) |
Static Protected Member Functions | |
static | fillPlaceholders (array $results, array $vars, array $lang_var_to_type_dict) |
static | findPlaceholders (string $pattern, string $translation) |
Static Private Member Functions | |
static | replaceFields (string $string, array $foundPlaceholders, array $params, string $startTag, string $endTage) |
Definition at line 33 of file ilNotificationDatabaseHandler.php.
|
static |
Definition at line 346 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, ILIAS\Notifications\ilNotificationSetupHelper\$tbl_userlistener, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Referenced by ILIAS\Notifications\ilNotificationSystem\toListeners().
|
static |
list<int> | $users |
Definition at line 362 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, ILIAS\Notifications\ilNotificationSetupHelper\$tbl_userlistener, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Referenced by ILIAS\Notifications\ilNotificationSystem\enableListeners(), and ILIAS\Notifications\ilNotificationSystem\enableUserListeners().
|
static |
Definition at line 260 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, $ref_id, ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_queue, ILIAS\Notifications\ilNotificationSetupHelper\$tbl_userlistener, ILIAS\Notifications\Model\ilNotificationConfig\getType(), ILIAS\Notifications\Model\ilNotificationConfig\getValidForSeconds(), ILIAS\Notifications\Model\ilNotificationConfig\getVisibleForSeconds(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Referenced by ILIAS\Notifications\ilNotificationSystem\toListeners().
|
static |
list<int> | $usr_ids |
Definition at line 234 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_queue, ILIAS\Notifications\Model\ilNotificationConfig\getValidForSeconds(), ILIAS\Notifications\Model\ilNotificationConfig\getVisibleForSeconds(), and ilDBConstants\T_INTEGER.
Referenced by ILIAS\Notifications\ilNotificationSystem\toUsers().
|
staticprotected |
array<string,object{lang_untouched | array<string, string>, params: list<string>}> $results |
array<string,ilNotificationParameter> | $vars |
array<string,string> | $lang_var_to_type_dict |
Definition at line 84 of file ilNotificationDatabaseHandler.php.
References $res, and $results.
|
staticprotected |
Definition at line 127 of file ilNotificationDatabaseHandler.php.
|
static |
list<string> | $config_types |
Definition at line 426 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_channels, and ilDBConstants\T_TEXT.
Referenced by ILIAS\Notifications\ilNotificationSystem\toUsers().
|
static |
list<string> | $config_types |
Definition at line 465 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_types, and ilDBConstants\T_TEXT.
Referenced by ILIAS\Notifications\ilNotificationSystem\toUsers().
|
static |
array<string,ilNotificationParameter> | $vars |
Definition at line 39 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, $res, and $results.
Referenced by ILIAS\Notifications\ilNotificationSystem\toUsers().
|
static |
Definition at line 326 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, ILIAS\Notifications\ilNotificationSetupHelper\$tbl_userlistener, ILIAS\Repository\int(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Referenced by ILIAS\Notifications\ilNotificationSystem\toListeners().
|
static |
list<int> | $usr_ids |
Definition at line 521 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, ILIAS\Repository\int(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
Referenced by ILIAS\Notifications\ilNotificationSystem\toUsers().
|
static |
Definition at line 206 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, $res, ILIAS\Notifications\ilNotificationSetupHelper\$tbl_userconfig, and ilDBConstants\T_INTEGER.
Referenced by ILIAS\Notifications\ilNotificationSystem\toUsers().
|
static |
Definition at line 380 of file ilNotificationDatabaseHandler.php.
References ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_channels, ilDBInterface\insert(), and ilDBConstants\T_TEXT.
Referenced by ILIAS\Notifications\ilNotificationSetupHelper\registerChannel().
|
static |
Definition at line 402 of file ilNotificationDatabaseHandler.php.
References ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_types, ilDBInterface\insert(), and ilDBConstants\T_TEXT.
Referenced by ILIAS\Notifications\ilNotificationSetupHelper\registerType().
|
static |
Definition at line 310 of file ilNotificationDatabaseHandler.php.
References $DIC, $id, $ilDB, ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_data, and ilDBConstants\T_INTEGER.
|
staticprivate |
list<string> | $foundPlaceholders |
array<string,mixed> | $params |
Definition at line 139 of file ilNotificationDatabaseHandler.php.
|
static |
Definition at line 505 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_channels, and ilDBConstants\T_TEXT.
|
static |
Definition at line 493 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_types, and ilDBConstants\T_TEXT.
|
static |
array<string,array<string,string>> | $configArray |
Definition at line 161 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, ILIAS\Notifications\ilNotificationSetupHelper\$tbl_userconfig, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
|
static |
Definition at line 291 of file ilNotificationDatabaseHandler.php.
References $DIC, $id, $ilDB, ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_data, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.