ILIAS
release_8 Revision v8.19
|
Public Member Functions | |
__construct (ilRbacReview $rbacReview=null) | |
toUsers (ilNotificationConfig $notification, array $users, bool $processAsync=false) | |
clear (string $channel='') | |
Static Public Member Functions | |
static | sendNotificationToUsers (ilNotificationConfig $notification, array $users, bool $processAsync=false) |
static | sendNotificationToListeners (ilNotificationConfig $notification, int $ref_id, bool $processAsync=false) |
static | sendNotificationToRoles (ilNotificationConfig $notification, array $roles, bool $processAsync=false) |
static | enableListeners (string $module, int $ref_id) |
static | enableUserListeners (string $module, int $ref_id, array $users) |
Private Member Functions | |
addHandler (string $channel, ilNotificationHandler $handler) | |
toListeners (ilNotificationConfig $notification, int $ref_id, bool $processAsync=false) | |
toRoles (ilNotificationConfig $notification, array $roles, bool $processAsync=false) | |
Private Attributes | |
array | $handler = [] |
string | $defaultLanguage = 'en' |
ilRbacReview | $rbacReview |
Definition at line 31 of file ilNotificationSystem.php.
ILIAS\Notifications\ilNotificationSystem::__construct | ( | ilRbacReview | $rbacReview = null | ) |
Definition at line 40 of file ilNotificationSystem.php.
References $DIC, ILIAS\Notifications\ilNotificationSystem\$rbacReview, and ILIAS\Notifications\ilNotificationSystem\addHandler().
|
private |
Definition at line 52 of file ilNotificationSystem.php.
References ILIAS\Notifications\ilNotificationSystem\$handler.
Referenced by ILIAS\Notifications\ilNotificationSystem\__construct().
ILIAS\Notifications\ilNotificationSystem::clear | ( | string | $channel = '' | ) |
Definition at line 188 of file ilNotificationSystem.php.
References $c, and ILIAS\Notifications\ilNotificationSystem\$handler.
|
static |
Definition at line 176 of file ilNotificationSystem.php.
References ILIAS\Notifications\ilNotificationDatabaseHandler\enableListeners().
|
static |
Definition at line 181 of file ilNotificationSystem.php.
References ILIAS\Notifications\ilNotificationDatabaseHandler\enableListeners().
|
static |
Definition at line 161 of file ilNotificationSystem.php.
References $DIC.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\notifyByListeners().
|
static |
int[] | $roles |
Definition at line 170 of file ilNotificationSystem.php.
References $DIC.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\notifyByRoles().
|
static |
int[] | $users |
Definition at line 155 of file ilNotificationSystem.php.
References $DIC.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\notifyByUsers().
|
private |
Definition at line 125 of file ilNotificationSystem.php.
References $ref_id, ILIAS\Notifications\ilNotificationDatabaseHandler\disableListeners(), ILIAS\Notifications\ilNotificationDatabaseHandler\enqueueByListener(), ILIAS\Notifications\Model\ilNotificationConfig\getType(), ILIAS\Notifications\ilNotificationDatabaseHandler\getUsersByListener(), and ILIAS\Notifications\Model\ilNotificationConfig\hasDisableAfterDeliverySet().
|
private |
int[] | $roles |
Definition at line 140 of file ilNotificationSystem.php.
References ILIAS\Notifications\ilNotificationSystem\toUsers().
ILIAS\Notifications\ilNotificationSystem::toUsers | ( | ilNotificationConfig | $notification, |
array | $users, | ||
bool | $processAsync = false |
||
) |
int[] | $users |
Definition at line 64 of file ilNotificationSystem.php.
References $data, ILIAS\Notifications\ilNotificationSystem\$handler, $lang, ILIAS\Notifications\ilNotificationDatabaseHandler\enqueueByUsers(), ILIAS\Notifications\ilNotificationDatabaseHandler\getAvailableChannels(), ILIAS\Notifications\ilNotificationDatabaseHandler\getAvailableTypes(), ilObjectFactory\getInstanceByObjId(), ILIAS\Notifications\Model\ilNotificationConfig\getLanguageParameters(), ILIAS\Notifications\ilNotificationDatabaseHandler\getTranslatedLanguageVariablesOfNotificationParameters(), ILIAS\Notifications\Model\ilNotificationConfig\getType(), ILIAS\Notifications\Model\ilNotificationConfig\getUserInstance(), ILIAS\Notifications\ilNotificationDatabaseHandler\getUsersWithCustomConfig(), and ILIAS\Notifications\ilNotificationDatabaseHandler\loadUserConfig().
Referenced by ILIAS\Notifications\ilNotificationSystem\toRoles().
|
private |
Definition at line 37 of file ilNotificationSystem.php.
|
private |
Definition at line 36 of file ilNotificationSystem.php.
Referenced by ILIAS\Notifications\ilNotificationSystem\addHandler(), ILIAS\Notifications\ilNotificationSystem\clear(), and ILIAS\Notifications\ilNotificationSystem\toUsers().
|
private |
Definition at line 38 of file ilNotificationSystem.php.
Referenced by ILIAS\Notifications\ilNotificationSystem\__construct().