Function Hook_notification_cns_topic->allowed_settings
Definitions
sources/hooks/systems/notifications/cns_topic.php
- Find a bitmask of settings (e-mail, SMS, etc) a notification code supports for listening on.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: int
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $notification_code | ID_TEXT | No | No | required parameter | N/A | N/A | Notification code |
Returns
- Allowed settings
- Type: integer
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find a bitmask of settings (e-mail, SMS, etc) a notification code supports for listening on.
*
* @param ID_TEXT $notification_code Notification code
* @return integer Allowed settings
*/
public function allowed_settings(string $notification_code) : int
* Find a bitmask of settings (e-mail, SMS, etc) a notification code supports for listening on.
*
* @param ID_TEXT $notification_code Notification code
* @return integer Allowed settings
*/
public function allowed_settings(string $notification_code) : int

