ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (?ilRbacReview $rbacReview=null, ?ilLogger $logger=null) | |
toUsers (ilNotificationConfig $notification, array $users, bool $process_async=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 $process_async=false) | |
toRoles (ilNotificationConfig $notification, array $roles, bool $process_async=false) | |
Private Attributes | |
array | $handler = [] |
string | $defaultLanguage = 'en' |
readonly ilRbacReview | $rbacReview |
readonly ilLogger | $logger |
Definition at line 32 of file ilNotificationSystem.php.
ILIAS\Notifications\ilNotificationSystem::__construct | ( | ?ilRbacReview | $rbacReview = null , |
?ilLogger | $logger = null |
||
) |
Definition at line 40 of file ilNotificationSystem.php.
References $DIC, ILIAS\Notifications\ilNotificationSystem\$logger, ILIAS\Notifications\ilNotificationSystem\$rbacReview, ILIAS\Notifications\ilNotificationSystem\addHandler(), ILIAS\Repository\logger(), and null.
|
private |
Definition at line 58 of file ilNotificationSystem.php.
References ILIAS\Notifications\ilNotificationSystem\$handler.
Referenced by ILIAS\Notifications\ilNotificationSystem\__construct().
ILIAS\Notifications\ilNotificationSystem::clear | ( | string | $channel = '' | ) |
Definition at line 232 of file ilNotificationSystem.php.
References $c, and ILIAS\Notifications\ilNotificationSystem\$handler.
|
static |
Definition at line 217 of file ilNotificationSystem.php.
References ILIAS\Notifications\ilNotificationDatabaseHandler\enableListeners().
|
static |
list<int> | $users |
Definition at line 225 of file ilNotificationSystem.php.
References ILIAS\Notifications\ilNotificationDatabaseHandler\enableListeners().
|
static |
Definition at line 196 of file ilNotificationSystem.php.
References $DIC.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\notifyByListeners().
|
static |
list<int> | $roles |
Definition at line 208 of file ilNotificationSystem.php.
References $DIC.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\notifyByRoles().
|
static |
list<int> | $users |
Definition at line 187 of file ilNotificationSystem.php.
References $DIC.
Referenced by ILIAS\Notifications\Model\ilNotificationConfig\notifyByUsers().
|
private |
Definition at line 157 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 |
list<int> | $roles |
Definition at line 172 of file ilNotificationSystem.php.
References ILIAS\Notifications\ilNotificationSystem\toUsers().
ILIAS\Notifications\ilNotificationSystem::toUsers | ( | ilNotificationConfig | $notification, |
array | $users, | ||
bool | $process_async = false |
||
) |
list<int> | $users |
Definition at line 70 of file ilNotificationSystem.php.
References $data, ILIAS\Notifications\ilNotificationSystem\$handler, $lang, ILIAS\Notifications\ilNotificationDatabaseHandler\enqueueByUsers(), ILIAS\Notifications\ilNotificationDatabaseHandler\getAvailableChannels(), ILIAS\Notifications\ilNotificationDatabaseHandler\getAvailableTypes(), ILIAS\Notifications\Model\ilNotificationConfig\getIdentification(), 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(), ILIAS\Notifications\ilNotificationDatabaseHandler\loadUserConfig(), and ILIAS\Repository\logger().
Referenced by ILIAS\Notifications\ilNotificationSystem\toRoles().
|
private |
Definition at line 36 of file ilNotificationSystem.php.
|
private |
Definition at line 35 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().
|
private |
Definition at line 37 of file ilNotificationSystem.php.
Referenced by ILIAS\Notifications\ilNotificationSystem\__construct().