Function __global->_notification_setting_available

Definitions

sources/notifications.php

  • Find whether a particular kind of notification is available.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Parameters

Name Type Default Set Range Description
$setting integer required parameter N/A N/A The notification setting
$member_id ?MEMBER Null N/A N/A Member to check for (null: just check globally)
$allowed_setting ?integer Null N/A N/A Limit to a particular $allowed_setting (restriction from a particular notification code) (null: none)

Return

  • Whether it is available
  • Type: boolean
  • Set: N/A
  • Range: N/A