Function Hook_notification_ticket_reply_staff->_is_staff
Definitions
sources/hooks/systems/notifications/ticket_reply_staff.php
- Find whether someone has permission to view staff notifications and possibly if they actually are.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$only_if_enabled_on__notification_code | ?ID_TEXT | required parameter | N/A | N/A | Notification code (null: don't check if they are) |
$only_if_enabled_on__category | ?SHORT_TEXT | required parameter | N/A | N/A | The category within the notification code (null: none) |
$member_id | MEMBER | required parameter | N/A | N/A | Member to check against |
Return
- Whether they do
- Type: boolean
- Set: N/A
- Range: N/A