Function __global->notifications_setting
Definitions
sources/notifications.php
- Find how notifications are enabled for a member on a notification code+category. Does not check security (must go through notification object for that).
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$notification_code | ID_TEXT | required parameter | N/A | N/A | The notification code to check |
$notification_category | ?SHORT_TEXT | required parameter | N/A | N/A | The category within the notification code (null: none) |
$member_id | ?MEMBER | Null | N/A | N/A | The member being de-signed up (null: current member) |
Return
- How they are
- Type: integer
- Set: N/A
- Range: N/A