ILIAS
release_8 Revision v8.19
|
Static Public Member Functions | |
static | getTranslatedLanguageVariablesOfNotificationParameters (array $vars=[]) |
static | setUserConfig (int $userid, array $configArray) |
static | loadUserConfig (int $userid) |
static | enqueueByUsers (ilNotificationConfig $notification, array $userids) |
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, $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 $includeDisabled=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 $userid) |
Static Protected Member Functions | |
static | fillPlaceholders (array $results, array $vars, array $langVarToTypeDict) |
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 32 of file ilNotificationDatabaseHandler.php.
|
static |
Definition at line 296 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, $query, and ILIAS\Notifications\ilNotificationSetupHelper\$tbl_userlistener.
Referenced by ILIAS\Notifications\ilNotificationSystem\toListeners().
|
static |
Definition at line 309 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, $query, and ILIAS\Notifications\ilNotificationSetupHelper\$tbl_userlistener.
Referenced by ILIAS\Notifications\ilNotificationSystem\enableListeners(), and ILIAS\Notifications\ilNotificationSystem\enableUserListeners().
|
static |
Definition at line 223 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, $query, $ref_id, ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_queue, ILIAS\Notifications\ilNotificationSetupHelper\$tbl_userlistener, ILIAS\Notifications\Model\ilNotificationConfig\getType(), ILIAS\Notifications\Model\ilNotificationConfig\getValidForSeconds(), and ILIAS\Notifications\Model\ilNotificationConfig\getVisibleForSeconds().
Referenced by ILIAS\Notifications\ilNotificationSystem\toListeners().
|
static |
Definition at line 197 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_queue, ILIAS\Notifications\Model\ilNotificationConfig\getValidForSeconds(), and ILIAS\Notifications\Model\ilNotificationConfig\getVisibleForSeconds().
Referenced by ILIAS\Notifications\ilNotificationSystem\toUsers().
|
staticprotected |
array<string,ilNotificationParameter> | $vars |
Definition at line 77 of file ilNotificationDatabaseHandler.php.
References $res, and $results.
|
staticprotected |
Definition at line 105 of file ilNotificationDatabaseHandler.php.
|
static |
Definition at line 359 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, $query, ILIAS\LTI\ToolProvider\$settings, and ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_channels.
Referenced by ILIAS\Notifications\ilNotificationSystem\toUsers().
|
static |
Definition at line 397 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, $query, and ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_types.
Referenced by ILIAS\Notifications\ilNotificationSystem\toUsers().
|
static |
array<string,ilNotificationParameter> | $vars |
Definition at line 37 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, $query, $res, $results, and $type.
Referenced by ILIAS\Notifications\ilNotificationSystem\toUsers().
|
static |
Definition at line 277 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, $query, ILIAS\Notifications\ilNotificationSetupHelper\$tbl_userlistener, and ILIAS\Repository\int().
Referenced by ILIAS\Notifications\ilNotificationSystem\toListeners().
|
static |
int[] | $userid |
Definition at line 455 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, and $query.
Referenced by ILIAS\Notifications\ilNotificationSystem\toUsers().
|
static |
int | $userid |
Definition at line 172 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, $query, $res, and ILIAS\Notifications\ilNotificationSetupHelper\$tbl_userconfig.
Referenced by ILIAS\Notifications\ilNotificationSystem\toUsers().
|
static |
Definition at line 327 of file ilNotificationDatabaseHandler.php.
References ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_channels, and ilDBInterface\insert().
Referenced by ILIAS\Notifications\ilNotificationSetupHelper\registerChannel().
|
static |
Definition at line 342 of file ilNotificationDatabaseHandler.php.
References ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_types, and ilDBInterface\insert().
Referenced by ILIAS\Notifications\ilNotificationSetupHelper\registerType().
|
static |
Definition at line 261 of file ilNotificationDatabaseHandler.php.
References $DIC, $id, $ilDB, $query, and ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_data.
|
staticprivate |
string[] | $foundPlaceholders |
string[] | $params |
Definition at line 116 of file ilNotificationDatabaseHandler.php.
|
static |
Definition at line 438 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, $query, and ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_channels.
|
static |
Definition at line 426 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, $query, and ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_types.
|
static |
Definition at line 130 of file ilNotificationDatabaseHandler.php.
References $DIC, $ilDB, $query, ILIAS\Notifications\ilNotificationSetupHelper\$tbl_userconfig, and $type.
|
static |
Definition at line 242 of file ilNotificationDatabaseHandler.php.
References $DIC, $id, $ilDB, and ILIAS\Notifications\ilNotificationSetupHelper\$tbl_notification_data.