|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Collaboration diagram for ILIAS\Notifications\ilNotificationSystem: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(), and ILIAS\Repository\logger().
Here is the call graph for this function:
|
private |
Definition at line 58 of file ilNotificationSystem.php.
References ILIAS\Notifications\ilNotificationSystem\$handler.
Referenced by ILIAS\Notifications\ilNotificationSystem\__construct().
Here is the caller graph for this function:| ILIAS\Notifications\ilNotificationSystem::clear | ( | string | $channel = '' | ) |
Definition at line 232 of file ilNotificationSystem.php.
|
static |
Definition at line 217 of file ilNotificationSystem.php.
References $ref_id.
|
static |
| list<int> | $users |
Definition at line 225 of file ilNotificationSystem.php.
References $ref_id.
|
static |
Definition at line 196 of file ilNotificationSystem.php.
|
static |
| list<int> | $roles |
Definition at line 208 of file ilNotificationSystem.php.
|
static |
| list<int> | $users |
Definition at line 187 of file ilNotificationSystem.php.
|
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().
Here is the call graph for this function:
|
private |
| list<int> | $roles |
Definition at line 172 of file ilNotificationSystem.php.
References ILIAS\Notifications\ilNotificationSystem\toUsers().
Here is the call graph for this function:| 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, 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 36 of file ilNotificationSystem.php.
|
private |
Definition at line 35 of file ilNotificationSystem.php.
Referenced by ILIAS\Notifications\ilNotificationSystem\addHandler(), 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().